aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 381f11a..17031ba 100644
--- a/Makefile
+++ b/Makefile
@@ -5,12 +5,12 @@
SHELL=/bin/sh
CC=gcc
-CFLAGS=-ansi -pedantic
+CFLAGS:=-ansi -pedantic $(CFLAGS)
FLAGS= # command-line macro
colorize: colorize.c
perl ./version.pl > version.h
- $(CC) $(CFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" -DHAVE_VERSION $(FLAGS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" -DHAVE_VERSION $(FLAGS)
check:
perl ./test.pl --regular