aboutsummaryrefslogtreecommitdiff
path: root/mk/prog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/prog.mk')
-rw-r--r--mk/prog.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index a52681f2..46bfb56b 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -20,12 +20,15 @@ LDFLAGS+= ${_DYNLINK}$(shell ${_DYNLINK_SH})
LDFLAGS+= -Wl,-rpath=${PREFIX}/${LIBNAME} -L${PREFIX}/${LIBNAME}
LDFLAGS+= ${PROGLDFLAGS}
+CLEANFILES+= ${OBJS} ${PROG}
+
all: depend ${PROG}
${PROG}: ${SCRIPTS} ${OBJS}
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
clean:
- rm -f ${OBJS} ${PROG} ${CLEANFILES}
+ rm -f ${CLEANFILES}
include ${MK}/depend.mk
+include ${MK}/gitignore.mk