aboutsummaryrefslogtreecommitdiff
path: root/mk/lib.mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-03 13:04:08 +0000
committerRoy Marples <roy@marples.name>2008-03-03 13:04:08 +0000
commit7a8e9d4ddbe121bf2cafb095e9ecf262bc074133 (patch)
tree4bb8ef4bd3b8c4096356db12f7d6f62090ffc002 /mk/lib.mk
parent61c476e72d7da6866ea9e3ba6a8d1e7bb295b7aa (diff)
Add a gitignore make target.
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