[GRASS-SVN] r36559 - grass/branches/develbranch_6/gem

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 2 02:58:08 EDT 2009


Author: neteler
Date: 2009-04-02 02:58:06 -0400 (Thu, 02 Apr 2009)
New Revision: 36559

Modified:
   grass/branches/develbranch_6/gem/Makefile
Log:
define also GRASS_VERSION_MINOR

Modified: grass/branches/develbranch_6/gem/Makefile
===================================================================
--- grass/branches/develbranch_6/gem/Makefile	2009-04-01 21:11:30 UTC (rev 36558)
+++ grass/branches/develbranch_6/gem/Makefile	2009-04-02 06:58:06 UTC (rev 36559)
@@ -1,3 +1,5 @@
+GRASS_VERSION_MAJOR=6
+GRASS_VERSION_MINOR=5
 CC=gcc
 CFLAGS=-g -Wall -pedantic -Werror-implicit-function-declaration -fno-common
 CLIBS=
@@ -30,7 +32,7 @@
 	main.o
 
 default: $(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