Makefile: respect CFLAGS and LDFLAGS - sub - subscene.com subtitle search | |
git clone git://git.codemadness.org/sub | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7721871268ff7b8281ad787ee975b6539449d49c | |
parent 4a19ef447d4320d7fbd1494495a40fa3d7e0846b | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 |