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 $@