[GRASS-user] Makefile for v.strahler - 2

Annalisa Minelli annagrass6 at gmail.com
Thu Aug 7 10:54:23 EDT 2008


Dear all,
I would tell to you that I finally found a working-version of the Makefile
for v.strahler that sound like this:

MODULE_TOPDIR = ../..

PROGRAMS = v.mainchannel r.strahler.sh r.broscoe.sh

LIBES        = $(DISPLAYLIB) $(RASTERLIB) $(VECTLIB) $(GRAPHLIB) $(DBMILIB)
$(GISLIB)
DEPENDENCIES = $(DISPLAYDEP) $(RASTERDEP) $(VECTDEP) $(GISDEP)
EXTRA_INC = $(VECT_INC)
EXTRA_CFLAGS = $(VECT_CFLAGS)

include $(MODULE_TOPDIR)/include/Make/Script.make

default: script

PGM = v.strahler

LIBES        = $(DISPLAYLIB) $(RASTERLIB) $(VECTLIB) $(GRAPHLIB) $(DBMILIB)
$(GISLIB)
DEPENDENCIES = $(DISPLAYDEP) $(RASTERDEP) $(VECTDEP) $(GISDEP)
EXTRA_INC = $(VECT_INC)
EXTRA_CFLAGS = $(VECT_CFLAGS)

include $(MODULE_TOPDIR)/include/Make/Module.make

default: cmd

because I have to compile a directory where there are both scripts and
C-module...
if there's a better way I wait for suggestions...

Cheers

Annalisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080807/ccf616e3/attachment.html


More information about the grass-user mailing list