[GRASS-SVN] r30342 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 25 01:37:19 EST 2008


Author: glynn
Date: 2008-02-25 01:37:19 -0500 (Mon, 25 Feb 2008)
New Revision: 30342

Modified:
   grass/trunk/include/Make/Rules.make
Log:
Compile C++ code with $(CXX), not $(CC)



Modified: grass/trunk/include/Make/Rules.make
===================================================================
--- grass/trunk/include/Make/Rules.make	2008-02-25 06:20:38 UTC (rev 30341)
+++ grass/trunk/include/Make/Rules.make	2008-02-25 06:37:19 UTC (rev 30342)
@@ -50,11 +50,11 @@
 
 $(OBJDIR)/%.o : %.cc $(LOCAL_HEADERS) $(EXTRA_HEADERS)
 	$(MAKE) $(OBJDIR)
-	$(CC) $(CXXFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) -o $@ -c $<
+	$(CXX) $(CXXFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) -o $@ -c $<
 
 $(OBJDIR)/%.o : %.cpp $(LOCAL_HEADERS) $(EXTRA_HEADERS)
 	$(MAKE) $(OBJDIR)
-	$(CC) $(CXXFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) -o $@ -c $<
+	$(CXX) $(CXXFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) -o $@ -c $<
 endif
 
 # default parser generation rules, include prefix for files/vars



More information about the grass-commit mailing list