[GRASS-SVN] r33465 - in grass/trunk/swig/python: . NumPtr

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 16 04:13:41 EDT 2008


Author: hamish
Date: 2008-09-16 04:13:41 -0400 (Tue, 16 Sep 2008)
New Revision: 33465

Added:
   grass/trunk/swig/python/NumPtr/Makefile
Modified:
   grass/trunk/swig/python/Makefile
Log:
makefile control for NumPtr (merge from devbr6)

Modified: grass/trunk/swig/python/Makefile
===================================================================
--- grass/trunk/swig/python/Makefile	2008-09-16 07:50:40 UTC (rev 33464)
+++ grass/trunk/swig/python/Makefile	2008-09-16 08:13:41 UTC (rev 33465)
@@ -11,7 +11,7 @@
 #SUBDIRS = NumPtr
 #include $(MODULE_TOPDIR)/include/Make/Dir.make
 
-default: python_grass7.so
+default: python_grass7.so numptr
 
 clean:
 	-rm -f *.o *.so python_grass7_wrap.c python_grass7.pyc python_grass7.py
@@ -26,6 +26,9 @@
 python_grass7.so: python_grass7_wrap.o
 	$(LD) $(LDFLAGS) $< -o _python_grass7.so
 
+numptr:
+	$(MAKE) -C NumPtr
+
 # doxygen:
 DOXNAME=
 DOXINPUT=grasspython.dox

Copied: grass/trunk/swig/python/NumPtr/Makefile (from rev 33464, grass/branches/develbranch_6/swig/python/NumPtr/Makefile)
===================================================================
--- grass/trunk/swig/python/NumPtr/Makefile	                        (rev 0)
+++ grass/trunk/swig/python/NumPtr/Makefile	2008-09-16 08:13:41 UTC (rev 33465)
@@ -0,0 +1,10 @@
+# build NumPtr
+
+all: numptr
+
+numptr:
+	python setup.py build
+	#python build/lib.linux-i686-2.4/test.py
+
+clean:
+	-rm -rf build/



More information about the grass-commit mailing list