[GRASS-SVN] r37756 - grass/branches/releasebranch_6_4/gem

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 6 05:14:28 EDT 2009


Author: hamish
Date: 2009-06-06 05:14:27 -0400 (Sat, 06 Jun 2009)
New Revision: 37756

Modified:
   grass/branches/releasebranch_6_4/gem/Makefile
Log:
complete the job

Modified: grass/branches/releasebranch_6_4/gem/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/gem/Makefile	2009-06-06 09:02:28 UTC (rev 37755)
+++ grass/branches/releasebranch_6_4/gem/Makefile	2009-06-06 09:14:27 UTC (rev 37756)
@@ -1,3 +1,5 @@
+GRASS_VERSION_MAJOR=6
+GRASS_VERSION_MINOR=4
 CC=gcc
 CFLAGS=-g -Wall -pedantic -Werror-implicit-function-declaration -fno-common
 CLIBS=
@@ -32,7 +34,7 @@
 default: gem
 
 gem: $(SRCS) $(HDRS) $(OBJS)
-	$(CC) $(OBJS) -o gem6 $(CFLAGS) $(CLIBS) $(LDFLAGS)
+	$(CC) $(OBJS) -o gem$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR) $(CFLAGS) $(CLIBS) $(LDFLAGS)
 
 %.o: %.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<



More information about the grass-commit mailing list