diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-01-25 13:51:30 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-01-25 13:51:30 +0100 |
commit | de903c0e8a4e79faec8f73a4c27a432282e8a329 (patch) | |
tree | 1a92b3377eb431656c19916bdbfef3a68bd92f5d /Makefile | |
parent | e46d200e0cb2ffb79a7d542f65809e1bb14c445c (diff) |
Makefile: add POSIX target, respect (packaging) system CFLAGS/LDFLAGS
this also makes packaging slightly simpler.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,5 @@ +.POSIX: + include config.mk NAME = sfeed @@ -58,10 +60,10 @@ OBJ = ${SRC:.c=.o} ${LIBXMLOBJ} ${LIBUTILOBJ} ${OBJ}: config.mk ${HDR} .o: - ${CC} ${LDFLAGS} -o $@ $< ${LIB} + ${CC} ${SFEED_LDFLAGS} -o $@ $< ${LIB} .c.o: - ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ -c $< + ${CC} ${SFEED_CFLAGS} ${SFEED_CPPFLAGS} -o $@ -c $< ${LIBUTIL}: ${LIBUTILOBJ} ${AR} rc $@ $? |