aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2017-03-04 22:02:47 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2017-03-04 22:02:47 +0100
commit321385b5bb7f230d3b18aaef82e45a0450475766 (patch)
tree8b4c195642b78ce84b36c5aa15a4d5269121907f /Makefile
parente2557f57e0b36c61f81f12fa3e5eb42b07de91ac (diff)
downloadcolorize-321385b5bb7f230d3b18aaef82e45a0450475766.tar.gz
colorize-321385b5bb7f230d3b18aaef82e45a0450475766.tar.bz2
Include all flags in version output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17031ba..868ec4c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,9 @@ FLAGS= # command-line macro
colorize: colorize.c
perl ./version.pl > version.h
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" -DHAVE_VERSION $(FLAGS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o colorize colorize.c \
+ -DCPPFLAGS="\"$(CPPFLAGS)\"" -DCFLAGS="\"$(CFLAGS)\"" -DLDFLAGS="\"$(LDFLAGS)\"" \
+ -DHAVE_VERSION $(FLAGS)
check:
perl ./test.pl --regular