diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-01-02 19:30:40 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-01-02 19:30:40 +0100 |
commit | b0a26a5d5f2796b3387ec4c28f05f4201d41a575 (patch) | |
tree | 39bb99c921e63212121ae35e877f8331f7fb6c99 /Makefile | |
parent | 9d19f7f844be74359b054d3bf395d6fdff5c20f8 (diff) |
Makefile: separate compat src
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -10,9 +10,10 @@ SRC = \ sfeed_plain.c\ sfeed_web.c\ sfeed_xmlenc.c\ - strlcpy.c\ util.c\ xml.c +COMPATSRC = \ + strlcpy.c BIN = \ sfeed\ sfeed_frames\ @@ -46,7 +47,7 @@ HDR = \ util.h\ xml.h -OBJ = ${SRC:.c=.o} +OBJ = ${SRC:.c=.o} ${EXTRAOBJ} all: $(BIN) @@ -57,7 +58,7 @@ dist: $(BIN) doc mkdir -p release/${VERSION} # legacy man-pages (add doc-oldman as dependency rule). #for m in $(MAN1); do cp -f doc/man/$$m release/${VERSION}/; done - cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${DOC} \ + cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \ Makefile config.mk \ sfeedrc.example style.css \ release/${VERSION}/ |