diff options
author | Roy Marples <roy@marples.name> | 2008-01-07 14:20:13 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-07 14:20:13 +0000 |
commit | d22fc0dd931e43be5f20526e8e43a303d054ca21 (patch) | |
tree | 8c47e8d9a54cfbd42a7ad58f2d01a0a2807e4577 /src/prog.mk | |
parent | c25651057038c6ef4f8cbd6819aa0b5ed892087a (diff) |
Allow depend creation again. This doesn't work on GNU make, but does on all others.
Diffstat (limited to 'src/prog.mk')
-rw-r--r-- | src/prog.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prog.mk b/src/prog.mk index ea7f4fc7..9a222e7d 100644 --- a/src/prog.mk +++ b/src/prog.mk @@ -8,10 +8,12 @@ OBJS+= ${SRCS:.c=.o} INSTALL?= install -all: ${PROG} +all: depend ${PROG} ${PROG}: ${SCRIPTS} ${OBJS} ${CC} ${CFLAGS} ${LDFLAGS} ${PROGLDFLAGS} -o $@ ${OBJS} ${LDADD} -clean: +clean: clean-depend rm -f ${OBJS} ${PROG} ${CLEANFILES} + +include $(TOPDIR)/depend.mk |