From 321385b5bb7f230d3b18aaef82e45a0450475766 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Sat, 4 Mar 2017 22:02:47 +0100 Subject: Include all flags in version output --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3