Makefile: respect CFLAGS and LDFLAGS - sub - subscene.com subtitle search
HTML git clone git://git.codemadness.org/sub
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7721871268ff7b8281ad787ee975b6539449d49c
DIR parent 4a19ef447d4320d7fbd1494495a40fa3d7e0846b
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 2 Mar 2018 14:04:23 +0100
Makefile: respect CFLAGS and LDFLAGS
Diffstat:
M Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -1,5 +1,6 @@
build: clean
- cc xml.c util.c sub.c -o sub
+ cc -c xml.c util.c sub.c ${CFLAGS}
+ cc -o sub xml.o util.o sub.o ${LDFLAGS}
clean:
rm -f sub *.o