aboutsummaryrefslogtreecommitdiff
path: root/mk/lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/lib.mk')
-rw-r--r--mk/lib.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index a5ce0a88..e8b2eb7d 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -56,6 +56,11 @@ check test::
clean:
rm -f ${OBJS} ${SOBJS} ${_LIBS} ${SHLIB_LINK} ${CLEANFILES}
+extra_depend:
+ @TMP=depend.$$$$; \
+ ${SED} -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.So:/' .depend > $${TMP}; \
+ mv $${TMP} .depend
+
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/depend.mk