Respect CFLAGS from the environment

This commit is contained in:
Thomas Preud'homme 2011-10-03 19:36:33 +02:00
parent d0e37451f5
commit ee32fa3624
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@
#
VERSION = $(shell awk 'END { print $$1 }' VERSION)
CFLAGS = -Wall -Wextra -DVERSION=\"$(VERSION)\"
CFLAGS ?= -Wall -Wextra
CFLAGS += -DVERSION=\"$(VERSION)\"
pstack : pstack.c