[GRASSLIST:3607] Re: r.tribs in grass5.0.x
Markus Neteler
neteler at itc.it
Mon Apr 29 05:59:07 EDT 2002
Hi Stephan,
On Sun, Apr 28, 2002 at 01:34:17PM +0200, Stephan Holl wrote:
> Hi list,
> on my locally installed GRASS-manualpages a module r.tribs is described. It calculates the tributary-link order of a streamnetwork, which is elemantary for r.kineros.
> It would exactly do what I need, but I could not find it.
> I tried to compile the printed sourcecode, but it failed with a missing
> debug.c error.
the r.tribs is included in the GRASS 4.3 source code.
http://grass.itc.it/grass43/source/
> The given link and the emailadress seemed to be dead....
> Does anybody know anything about the existence of this module?! That would
> be great.
Find attached an updated Gmakefile (5.0pre3 style) for r.tribs from
4.3. Note that I am not sure if the module will run under 5.0.
Certainly upgrades are needed.
Cheers
Markus
-------------- next part --------------
PGM = $(BIN_CMD)/r.tribs
GISLIB = $(LIBDIR)/libgis.a
OFILES = debug.o \
find_tribs.o \
imatrix.o \
ivector.o \
main.o \
neighbors.o \
stream_order.o
$(PGM): $(OFILES) $(GISLIB)
$(CC) $(OFILES) -o $@ $(GISLIB) $(MATHLIB) $(XDRLIB)
$(GISLIB): #
More information about the grass-user
mailing list