summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-02-25 15:43:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-02-25 15:43:37 +0100
commitfd76e3c3a50df556ec5943862c40076d7c7fc88b (patch)
treeffb83f7dc4d0d2e2a5a0f3a988f473645a703c5a /Makefile
parent19f14357a44fff9f6b1e7faf9ca368a33a8b0a64 (diff)
downloadcqrlogo-fd76e3c3a50df556ec5943862c40076d7c7fc88b.tar.gz
cqrlogo-fd76e3c3a50df556ec5943862c40076d7c7fc88b.tar.zst
readd CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b22b5f0..379dc73 100644
--- a/Makefile
+++ b/Makefile
@@ -32,10 +32,10 @@ lib/libcqrlogo.so: lib/libcqrlogo.c lib/libcqrlogo.h config.h version.h
SOVERSION=$(SOVERSION) $(MAKE) -C lib
cqrlogo.cgi: lib/libcqrlogo.so cqrlogo.c cqrlogo.h config.h version.h
- $(CC) -lcqrlogo -Llib/ -Ilib/ $(LDFLAGS) -DHAVE_FCGI=0 -o cqrlogo.cgi cqrlogo.c
+ $(CC) $(CFLAGS) -lcqrlogo -Llib/ -Ilib/ $(LDFLAGS) -DHAVE_FCGI=0 -o cqrlogo.cgi cqrlogo.c
cqrlogo.fcgi: lib/libcqrlogo.so cqrlogo.c cqrlogo.h config.h version.h
- $(CC) -lcqrlogo -Llib/ -Ilib/ -lfcgi $(LDFLAGS) -DHAVE_FCGI=1 -o cqrlogo.fcgi cqrlogo.c
+ $(CC) $(CFLAGS) -lcqrlogo -Llib/ -Ilib/ -lfcgi $(LDFLAGS) -DHAVE_FCGI=1 -o cqrlogo.fcgi cqrlogo.c
version.h: $(wildcard .git/HEAD .git/index .git/refs/tags/*) Makefile
echo "#ifndef VERSION" > $@