[GRASS-SVN] r31218 - grass-addons/raster/r.inund.fluv

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 2 18:13:29 EDT 2008


Author: neteler
Date: 2008-05-02 18:13:29 -0400 (Fri, 02 May 2008)
New Revision: 31218

Added:
   grass-addons/raster/r.inund.fluv/Makefile
Log:
new Makefile added

Added: grass-addons/raster/r.inund.fluv/Makefile
===================================================================
--- grass-addons/raster/r.inund.fluv/Makefile	                        (rev 0)
+++ grass-addons/raster/r.inund.fluv/Makefile	2008-05-02 22:13:29 UTC (rev 31218)
@@ -0,0 +1,29 @@
+MODULE_TOPDIR = ../..
+
+PGM = r.inund.fluv
+
+include $(MODULE_TOPDIR)/include/Make/Module.make
+include $(MODULE_TOPDIR)/include/Make/Script.make
+
+default: DIR $(ETC)/fortran_code/$(PGM) html
+
+DIR:
+	mkdir -p $(ETC)/fortran_code/
+
+$(ETC)/fortran_code/$(PGM): $(OBJ)
+	gfortran -O1 -o find_main_channel find_main_channel.f90 
+	gfortran -O1 -o clean_inundation clean_inundation.f90
+	gfortran -O1 -o 2d_path 2d_path.f90
+	gfortran -O1 -o correction_from_path correction_from_path.f90
+	$(INSTALL) find_main_channel$(EXE) $(ETC)/fortran_code
+	$(INSTALL) clean_inundation$(EXE) $(ETC)/fortran_code
+	$(INSTALL) 2d_path$(EXE) $(ETC)/fortran_code
+	$(INSTALL) correction_from_path$(EXE) $(ETC)/fortran_code
+	$(INSTALL) $(PGM) $(SCRIPT)
+
+html:
+	$(MKDIR) $(GISBASE)/docs/html
+	$(INSTALL_DATA) $(PGM).html $(GISBASE)/docs/html/
+
+clean:
+	-rm -f find_main_channel$(EXE) clean_inundation$(EXE) 2d_path$(EXE) correction_from_path$(EXE) dati.mod dd.mod


Property changes on: grass-addons/raster/r.inund.fluv/Makefile
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the grass-commit mailing list