[GRASS-SVN] r29603 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 8 06:59:59 EST 2008


Author: martinl
Date: 2008-01-08 06:59:59 -0500 (Tue, 08 Jan 2008)
New Revision: 29603

Modified:
   grass/trunk/gui/wxpython/vdigit/Makefile.in
Log:
Makefile for vdigit updated

Modified: grass/trunk/gui/wxpython/vdigit/Makefile.in
===================================================================
--- grass/trunk/gui/wxpython/vdigit/Makefile.in	2008-01-08 11:58:47 UTC (rev 29602)
+++ grass/trunk/gui/wxpython/vdigit/Makefile.in	2008-01-08 11:59:59 UTC (rev 29603)
@@ -15,24 +15,34 @@
 
 LDFLAGS=-shared -fpic -L$(ARCH_LIBDIR) -lgrass_vect -lgrass_gis `wx-config --libs` -L./ -lgdi
 
-default: grass6_wxdriver.so
+default: grass6_wxvdigit.so
 
 clean:
-	-rm -f *.o _grass6_wxdriver.so grass6_wxdriver_wrap.cxx grass6_wxdriver.py grass6_wxdriver.i grass6_wxdriver.pyc	 
+	-rm -f *.o _grass6_wxvdigit.so grass6_wxvdigit_wrap.cxx grass6_wxvdigit.py grass6_wxvdigit.i grass6_wxvdigit.pyc	 
 
-grass6_wxdriver.i:
-	cat ./driver.i > grass6_wxdriver.i
-	echo "/* auto-generate swig typedef file (with some GRASS functions removed) */" >> grass6_wxdriver.i
-	cat ./driver.h >> grass6_wxdriver.i
+grass6_wxvdigit.i:
+	cat ./digit.i > grass6_wxvdigit.i
+	echo "/* auto-generate swig typedef file (with some GRASS functions removed) */" >> grass6_wxvdigit.i
+	cat ./driver.h >> grass6_wxvdigit.i
+	cat ./digit.h >> grass6_wxvdigit.i
 
-grass6_wxdriver_wrap.cxx: grass6_wxdriver.i
+grass6_wxvdigit_wrap.cxx: grass6_wxvdigit.i
 	$(SWIG) -c++ -python -shadow $<
 
-grass6_wxdriver_wrap.o: grass6_wxdriver_wrap.cxx
+grass6_wxvdigit_wrap.o: grass6_wxvdigit_wrap.cxx
 	$(CXX) $(CFLAGS) $(INCLUDE_DIRS) $<
 
 driver.o: driver.cpp driver.h
 	$(CXX) $(CFLAGS) $(INCLUDE_DIRS) $<
 
-grass6_wxdriver.so: grass6_wxdriver_wrap.o driver.o
-	$(CXX) $(LDFLAGS) grass6_wxdriver_wrap.o driver.o -o _grass6_wxdriver.so
+digit.o: digit.cpp digit.h
+	$(CXX) $(CFLAGS) $(INCLUDE_DIRS) $<
+
+cats.o: cats.cpp digit.h
+	$(CXX) $(CFLAGS) $(INCLUDE_DIRS) $<
+
+line.o: line.cpp digit.h
+	$(CXX) $(CFLAGS) $(INCLUDE_DIRS) $<
+
+grass6_wxvdigit.so: grass6_wxvdigit_wrap.o driver.o digit.o cats.o line.o
+	$(CXX) $(LDFLAGS) grass6_wxvdigit_wrap.o driver.o digit.o cats.o line.o -o _grass6_wxvdigit.so



More information about the grass-commit mailing list