aboutsummaryrefslogtreecommitdiff
path: root/mk/lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/lib.mk')
-rw-r--r--mk/lib.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index 825af96d..a649c2ca 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -11,6 +11,8 @@ OBJS+= ${SRCS:.c=.o}
SOBJS+= ${OBJS:.o=.So}
_LIBS= lib${LIB}.a ${SHLIB_NAME}
+CLEANFILES+= ${OBJS} ${SOBJS} ${_LIBS} ${SHLIB_LINK}
+
.SUFFIXES: .So
.c.So:
@@ -50,3 +52,4 @@ clean:
include ${MK}/sys.mk
include ${MK}/depend.mk
+include ${MK}/gitignore.mk