From 8d2ee599b0077d4c7b82deb3086b9e17934b209c Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 5 Nov 1998 07:27:55 +0000 Subject: 1. rebuild all elements of testmain properly for safety. 2. add fload and key prims for doing simple file and terminal I/O, respectively --- sys/boot/ficl/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sys/boot/ficl/Makefile') diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 62562e2..2455714 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -1,11 +1,11 @@ -# $Id: Makefile,v 1.3 1998/11/04 03:42:16 msmith Exp $ +# $Id: Makefile,v 1.4 1998/11/05 04:54:05 msmith Exp $ # LIB= ficl NOPROFILE= yes INTERNALLIB= yes INTERNALSTATICLIB= yes -SRCS= dict.c ficl.c math64.c softcore.c stack.c sysdep.c \ - vm.c words.c +BASE_SRCS= dict.c ficl.c math64.c stack.c sysdep.c vm.c words.c +SRCS= ${BASE_SRCS} softcore.c CLEANFILES= softcore.c testmain # Standard softwords @@ -17,10 +17,14 @@ SOFTWORDS= softcore.fr jhlocal.fr marker.fr CFLAGS+= -I${.CURDIR} softcore.c: ${SOFTWORDS} softcore.pl - (cd ${.CURDIR}/softwords; perl softcore.pl ${SOFTWORDS}) > ${.TARGET} + (cd ${.CURDIR}/softwords; ${PERL} softcore.pl ${SOFTWORDS}) > ${.TARGET} .include +testmain: ${.CURDIR}/testmain.c ${SRCS} + @for i in ${BASE_SRCS}; do echo $${i}... ; \ + ${CC} -c ${CFLAGS} -DTESTMAIN ${.CURDIR}/$${i}; done + @echo softdep.c... + @${CC} -c ${CFLAGS} -D_TESTMAIN softcore.c + cc -o ${.TARGET} ${.CURDIR}/testmain.c ${OBJS} -testmain: testmain.c ${SRCS} - cc -o testmain -DTESTMAIN testmain.c ${SRCS} -- cgit v1.1