[GRASS-SVN] r35696 - grass/branches/releasebranch_6_4/imagery

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


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

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

Modified: grass/branches/releasebranch_6_4/imagery/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/imagery/Makefile	2009-02-01 07:03:04 UTC (rev 35695)
+++ grass/branches/releasebranch_6_4/imagery/Makefile	2009-02-01 07:04:00 UTC (rev 35696)
@@ -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