[GRASS-SVN] r64245 - grass-addons/grass7/imagery/i.spec.sam

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 19 09:39:07 PST 2015


Author: ychemin
Date: 2015-01-19 09:39:07 -0800 (Mon, 19 Jan 2015)
New Revision: 64245

Modified:
   grass-addons/grass7/imagery/i.spec.sam/Makefile
   grass-addons/grass7/imagery/i.spec.sam/main.c
Log:
update i.spec.sam

Modified: grass-addons/grass7/imagery/i.spec.sam/Makefile
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/Makefile	2015-01-19 17:30:40 UTC (rev 64244)
+++ grass-addons/grass7/imagery/i.spec.sam/Makefile	2015-01-19 17:39:07 UTC (rev 64245)
@@ -3,8 +3,8 @@
 PGM = i.spec.sam
 
 EXTRALIB = meschach.a
-LIBES     = $(IMAGERYLIB) $(GMATHLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES= $(IMAGERYDEP) $(GMATHDEP) $(RASTERDEP) $(GISDEP)
+LIBES     = $(IMAGERYLIB) $(GMATHLIB) $(RASTERLIB) $(GISLIB) $(VECTLIB)
+DEPENDENCIES= $(IMAGERYDEP) $(GMATHDEP) $(RASTERDEP) $(GISDEP) $(VECTDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass-addons/grass7/imagery/i.spec.sam/main.c
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/main.c	2015-01-19 17:30:40 UTC (rev 64244)
+++ grass-addons/grass7/imagery/i.spec.sam/main.c	2015-01-19 17:39:07 UTC (rev 64245)
@@ -22,6 +22,9 @@
 #include "matrix.h"
 #include "matrix2.h"
 #include "local_proto.h"
+#include "grass/gis.h"
+#include "grass/raster.h"
+#include "grass/vector.h"
 
 MAT *A;
 VEC *b, *Avector;
@@ -43,11 +46,6 @@
 char result_name[80];
 char *result_prefix, *matrixfile;
 
-struct
-    {
-     struct Flag *quiet;
-    } flag;
-
 int open_files();
 void spectral_angle();
 CELL myround (x);



More information about the grass-commit mailing list