summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-06-02 06:16:02 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-06-02 06:16:02 (GMT)
commit89e90d67aa73163b368f0dc42ed78310bda00ac5 (patch)
treebb7ad7331037051274914dabd6d4231ff396f8f2 /Demo
parentf4b33f61fb83f54d3086ef28c34e71a18ade2b9d (diff)
downloadcpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.zip
cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.tar.gz
cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.tar.bz2
Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
directives, which is the role of CPPFLAGS. Closes SF patch #414991.
Diffstat (limited to 'Demo')
-rw-r--r--Demo/embed/Makefile3
-rw-r--r--Demo/pysvr/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile
index ebc274f..bdb381e 100644
--- a/Demo/embed/Makefile
+++ b/Demo/embed/Makefile
@@ -15,7 +15,8 @@ VERSION= 2.1
# Compiler flags
OPT= -g
INCLUDES= -I$(srcdir)/Include -I$(blddir)
-CFLAGS= $(OPT) $(INCLUDES)
+CFLAGS= $(OPT)
+CPPFLAGS= $(INCLUDES)
# The Python library
LIBPYTHON= $(blddir)/libpython$(VERSION).a
diff --git a/Demo/pysvr/Makefile b/Demo/pysvr/Makefile
index 7e36553..cb6605f 100644
--- a/Demo/pysvr/Makefile
+++ b/Demo/pysvr/Makefile
@@ -31,7 +31,8 @@ RLLIBS=-lreadline -ltermcap
OTHERLIBS=-lnsl -lpthread -ldl -lm -ldb -lutil
# Compilation and link flags -- no need to change normally
-CFLAGS=$(PYINCL) $(OPT)
+CFLAGS=$(OPT)
+CPPFLAGS=$(PYINCL)
LIBS=$(PYLIBS) $(RLLIBS) $(OTHERLIBS)
# Default port for the pysvr application