Makefile: respect system CFLAGS, LDFLAGS - grabtitle - stupid HTML title grabber
(HTM) git clone git://git.codemadness.org/grabtitle
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 732acec692f6038dc15bbced3cba9a65417ba13f
(DIR) parent 3054084945aae1ceb22b87c9132dea71cf9e5108
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Dec 2018 19:03:41 +0100
Makefile: respect system CFLAGS, LDFLAGS
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -1,5 +1,5 @@
-build:
- cc xml.c grabtitle.c -o grabtitle
+build: clean
+ cc -o grabtitle xml.c grabtitle.c ${CFLAGS} ${LDFLAGS}
clean:
rm -f grabtitle