changeset 4:75c1615b83b6

Makefile: Introduce CPPFLAGS. This is essentially 5991e8b0acf1dbe3487c1f246a1d215b346a61f0 from Yann Dirson <ydirson@altern.org> repository of cvsps.
author ng0 <ng0@crash.cx>
date Thu, 22 Feb 2018 15:55:03 +0000
parents 3181de3cc627
children 29ef8e0f8e49
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Feb 22 15:51:46 2018 +0000
+++ b/Makefile	Thu Feb 22 15:55:03 2018 +0000
@@ -1,8 +1,8 @@
 MAJOR=2
 MINOR=2b1
 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\