[GRASS-SVN] r35695 - grass/branches/develbranch_6/imagery

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 1 02:03:04 EST 2009


Author: neteler
Date: 2009-02-01 02:03:04 -0500 (Sun, 01 Feb 2009)
New Revision: 35695

Modified:
   grass/branches/develbranch_6/imagery/Makefile
Log:
conditionalize i.atcorr compilation

Modified: grass/branches/develbranch_6/imagery/Makefile
===================================================================
--- grass/branches/develbranch_6/imagery/Makefile	2009-02-01 03:01:08 UTC (rev 35694)
+++ grass/branches/develbranch_6/imagery/Makefile	2009-02-01 07:03:04 UTC (rev 35695)
@@ -2,7 +2,6 @@
 
 SUBDIRS = \
 	i.ask \
-	i.atcorr \
 	i.cluster \
 	i.find \
 	i.gensig \
@@ -19,10 +18,17 @@
 
 include $(MODULE_TOPDIR)/include/Make/Platform.make
 
+CXXBASED = i.atcorr
+
 FFTWBASED = i.fft i.ifft i.zc
 
 XMONBASED = i.class i.ortho.photo i.points i.vpoints
 
+#compile if C++ compiler present:
+ifneq ($(strip $(CXX)),)
+    SUBDIRS += $(CXXBASED)
+endif
+
 #compile if FFTW present:
 ifneq ($(strip $(FFTWLIB)),)
     SUBDIRS += $(FFTWBASED)



More information about the grass-commit mailing list