Don't use beforedepend to complicate and break things. Just put

generated source files in SRCS.
This commit is contained in:
Bruce Evans 1998-03-20 12:20:43 +00:00
parent 267af6a411
commit 45f74f2970

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1997/02/22 16:06:35 peter Exp $
# $Id: Makefile,v 1.4 1997/12/19 23:56:18 bde Exp $
PROG= mkdosfs
@ -16,6 +16,7 @@ CFLAGS+= -Wall
#MKDOSFS_MAINTENANCE= yes
.if defined(MKDOSFS_MAINTENANCE)
SRCS= mkdosfs.c bootcode.h
CFLAGS+= -I.
CLEANFILES+= bootcode.h
@ -42,8 +43,6 @@ CLEANFILES+= *.obj *.bin *.com
dd bs=32 skip=1 of=${.TARGET} if=${.PREFIX}.tmp
rm -f ${.PREFIX}.tmp
all beforedepend: bootcode.h
bootcode.h: bootcode.bin
@echo converting ${.TARGET} into ${.TARGET}...
@perl -e 'if(read(STDIN,$$buf,512)<512) { \