Use CXXFLAGS when compiling C++ programs.

We already have this flag so we may as well us it in the vpi
directory to compile C++ programs.
This commit is contained in:
Cary R 2010-01-06 13:39:16 -08:00 committed by Stephen Williams
parent 458258d554
commit 3dcaf6253b
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ YACC = @YACC@
CPPFLAGS = -I. -I$(srcdir)/.. -I$(srcdir) -I.. @file64_support@ @CPPFLAGS@ @DEFS@ @PICFLAG@
CFLAGS = -Wall @CFLAGS@
CXXFLAGS = -Wall @CXXFLAGS@
LDFLAGS = @LDFLAGS@
all: dep system.vpi va_math.vpi v2005_math.vpi $(ALL32)
@ -56,7 +57,7 @@ dep:
mv $*.d dep
%.o: %.cc vpi_config.h
$(CXX) $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
mv $*.d dep
# Object files for system.vpi