[GRASS-dev] grass7 on WinGrass Multi.make deps

Hamish hamish_b at yahoo.com
Sun May 31 06:50:12 EDT 2009


Hi,

while reviewing & streamlining the WinGrass build instructions I notice
a work-around is given for the grass 7 Make/Multi.make file which looks
like it might be a bug. It is step 4 for building GRASS 7:

https://trac.osgeo.org/grass/wiki/CompileOnWindows#Grass-7.0.svntrunk


-$(BIN)/%$(EXE): $(DEPENDENCIES)
-	$(call linker)
-
-define objs_rule
-$(BIN)/$(1)$(EXE): $$(patsubst %.o,$(OBJDIR)/%.o,$$($$(subst .,_,$(1)_OBJS)))

+define objs_rule
+$(BIN)/$(1)$(EXE): $$(patsubst %.o,$(OBJDIR)/%.o,$$($$(subst .,_,$(1)_OBJS)))$(DEPENDENCIES)
+	$$(call linker)


?

Hamish


More information about the grass-dev mailing list