aboutsummaryrefslogtreecommitdiff
path: root/mk/prog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/prog.mk')
-rw-r--r--mk/prog.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index a76bca44..288327e8 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -24,6 +24,9 @@ CLEANFILES+= ${OBJS} ${PROG}
all: depend ${PROG}
+.c.o:
+ ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
+
${PROG}: ${SCRIPTS} ${OBJS}
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}