diff options
author | jkh <jkh@FreeBSD.org> | 1998-11-05 07:27:55 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-11-05 07:27:55 +0000 |
commit | 8d2ee599b0077d4c7b82deb3086b9e17934b209c (patch) | |
tree | 8db91bd563d9cbac543a0336f42431d5ee5e79d2 /sys/boot/ficl/Makefile | |
parent | 3950d98847bfa92c74a0a2a101cce789546bc8f3 (diff) | |
download | FreeBSD-src-8d2ee599b0077d4c7b82deb3086b9e17934b209c.zip FreeBSD-src-8d2ee599b0077d4c7b82deb3086b9e17934b209c.tar.gz |
1. rebuild all elements of testmain properly for safety.
2. add fload and key prims for doing simple file and terminal I/O, respectively
Diffstat (limited to 'sys/boot/ficl/Makefile')
-rw-r--r-- | sys/boot/ficl/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
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 <bsd.lib.mk> +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} |