aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2015-01-11 22:43:11 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2015-01-11 22:43:11 +0100
commite659c762765da123e8d8d524e9c76697ad9e9c1e (patch)
treeaa849533d28415fe630a88b008f45b24c30c7988 /Makefile
parente999194ca8d7ac1a00180df5387444bac9d741f6 (diff)
downloadcolorize-e659c762765da123e8d8d524e9c76697ad9e9c1e.tar.gz
colorize-e659c762765da123e8d8d524e9c76697ad9e9c1e.tar.bz2
Allow for debug flag to be passed to make
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d061794..7860238 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,11 @@
SHELL=/bin/sh
CC=gcc
CFLAGS=-ansi -pedantic
+FLAGS= # command-line macro
colorize: colorize.c
perl ./version.pl > version.h
- $(CC) $(CFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" -DHAVE_VERSION
+ $(CC) $(CFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" -DHAVE_VERSION $(FLAGS)
check:
perl ./test.pl