aboutsummaryrefslogtreecommitdiff
path: root/src/lib.mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-07 14:20:13 +0000
committerRoy Marples <roy@marples.name>2008-01-07 14:20:13 +0000
commitd22fc0dd931e43be5f20526e8e43a303d054ca21 (patch)
tree8c47e8d9a54cfbd42a7ad58f2d01a0a2807e4577 /src/lib.mk
parentc25651057038c6ef4f8cbd6819aa0b5ed892087a (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.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib.mk b/src/lib.mk
index 574fd383..c1b4558c 100644
--- a/src/lib.mk
+++ b/src/lib.mk
@@ -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