# +----------------------------------------------------------------------+ # | Aubit 4gl Language Compiler Version $.0 lib makefile | # +----------------------------------------------------------------------+ # | Copyright (c) 2000-1 Aubit Development Team (See Credits file) | # +----------------------------------------------------------------------+ # | This program is free software; you can redistribute it and/or modify | # | it under the terms of one of the following licenses: | # | | # | A) the GNU General Public License as published by the Free Software | # | Foundation; either version 2 of the License, or (at your option) | # | any later version. | # | | # | B) the Aubit License as published by the Aubit Development Team and | # | included in the distribution in the file: LICENSE | # | | # | This program is distributed in the hope that it will be useful, | # | but WITHOUT ANY WARRANTY; without even the implied warranty of | # | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # | GNU General Public License for more details. | # | | # | You should have received a copy of both licenses referred to here. | # | If you did not, or have any questions about Aubit licensing, please | # | contact afalout@ihug.co.nz | # +----------------------------------------------------------------------+ ROOT =../.. LIBROOT =${ROOT}/lib # # $Id: Makefile.in,v 1.13 2008/11/25 10:19:06 mikeaubury Exp $ # #All stuff common to more then one Aubit compiler make file is there: include ${ROOT}/incl/Makefile-common ## ================================================================== ## Options ## ================================================================== 4GLPC =${FGLPCEXEC} 4GLPCFLAGS =${VERBOSE_FLAG} ALL =${ROOT}/bin/loadmap${EXE_EXT} ## ================================================================== ## Targets ## ================================================================== all: ${ALL} @echo "Successfuly compiled default target (${ALL})" loadmap.c: loadmap.4gl A4GL_LEXTYPE=C; A4GL_RDYNAMIC=${RDYNAMIC}; A4GL_SQLTYPE=nosql; A4GL_UI=CONSOLE; ${ROOT}/bin/4glc $< ${ROOT}/bin/loadmap${EXE_EXT} : loadmap.o ${LD_EXE} -L${ROOT}/lib -o $@ $< ${AUBIT_LIB} ${EXTRASYSTEMLIBS} ## ================================================================== ## Clean Targets ## ================================================================== clean : ${RM} loadmap loadmap.c loadmap.h core *.out *.glb *${SO_EXT} *.a *.ec \ *.o *.bak .*.bak *.exe *.dll *.stackdump *.err *.base *.exp *.ao *.warn \ ${ALL} #----------------------------------- EOF -------------------------------