Makefile revision 40883
1# $Id: Makefile,v 1.2 1998/11/04 00:29:33 msmith Exp $ 2# 3LIB= ficl 4NOPROFILE= yes 5INTERNALLIB= yes 6INTERNALSTATICLIB= yes 7SRCS= dict.c ficl.c math64.c softcore.c stack.c sysdep.c \ 8 vm.c words.c 9CLEANFILES= softcore.c testmain 10 11# Standard softwords 12SOFTWORDS= softcore.fr jhlocal.fr marker.fr 13# Optional OO extension softwords 14#SOFTWORDS+= oo.fr classes.fr 15 16.PATH: ${.CURDIR}/softwords 17CFLAGS+= -I${.CURDIR} 18 19softcore.c: ${SOFTWORDS} softcore.pl 20 (cd ${.CURDIR}/softwords; ./softcore.pl ${SOFTWORDS}) > ${.TARGET} 21 22.include <bsd.lib.mk> 23 24 25testmain: testmain.c ${SRCS} 26 cc -o testmain -DTESTMAIN testmain.c ${SRCS} 27