aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-10-15 09:02:27 +0000
committerRoy Marples <roy@marples.name>2008-10-15 09:02:27 +0000
commit66ae6e38a7f90c8230bcd6d7927a5c30eb450996 (patch)
tree6d02b5fd870fb291664bf44b3f8a6294a65a0e04
parent8d47d6c0220720b8a0a4a9c46ceb612cef0e2e65 (diff)
Compile with FreeBSD 6.x make
-rw-r--r--mk/lib.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index b7c07891..a5ce0a88 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -16,6 +16,9 @@ CLEANFILES+= ${OBJS} ${SOBJS} ${_LIBS} ${SHLIB_LINK}
.SUFFIXES: .So
+.c.o:
+ ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
+
.c.So:
${CC} ${PICFLAG} -DPIC ${CPPFLAGS} ${CFLAGS} -c $< -o $@