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/lib.mk | |
parent | c25651057038c6ef4f8cbd6819aa0b5ed892087a (diff) |
Allow depend creation again. This doesn't work on GNU make, but does on all others.
Diffstat (limited to 'src/lib.mk')
-rw-r--r-- | src/lib.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -32,7 +32,7 @@ LIBMODE?= 0444 .c.So: ${CC} ${PICFLAG} -DPIC ${CFLAGS} -c $< -o $@ -all: ${_LIBS} +all: depend ${_LIBS} lib${LIB}.a: ${OBJS} ${STATICOBJS} @${ECHO} building static library $@ @@ -59,5 +59,7 @@ install: all ${INSTALL} -d ${DESTDIR}${INCDIR} for x in ${INCS}; do ${INSTALL} -m ${INCMODE} $$x ${DESTDIR}${INCDIR}; done -clean: +clean: clean-depend rm -f ${OBJS} ${SOBJS} ${_LIBS} ${SHLIB_LINK} + +include $(TOPDIR)/depend.mk |