summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Dirson <ydirson@altern.org>2006-06-17 00:03:41 +0200
committerYann Dirson <ydirson@altern.org>2006-06-17 00:03:41 +0200
commit5991e8b0acf1dbe3487c1f246a1d215b346a61f0 (patch)
tree96f5db9081fb489af574f7252c0372fd6a040214
parentada289913dd87b3d262fa05653fbea81b74354a0 (diff)
downloadcvsps-5991e8b0acf1dbe3487c1f246a1d215b346a61f0.tar.gz
Separate CPPFLAGS from CFLAGS
This allows to set CGLAGS on command-line without interfering with preprocessor options
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2e34ec6..05ca856 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
MAJOR=2
MINOR=1
CC?=gcc
-CFLAGS?=-g -O2 -Wall
-CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
+CFLAGS?=-g -O2 -Wall
+CPPFLAGS?=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
prefix?=/usr/local
OBJS=\
cbtcommon/debug.o\