[GRASS5] Re: r.terraflow

Markus Neteler neteler at itc.it
Fri Jan 10 01:57:22 EST 2003


Hi,

does anyone have an advice for Laura? She is polishing the new
r.terraflow which is written in C++.
Please cc to her, she is not on the 'grass5' list.

Thanks

On Thu, Jan 09, 2003 at 03:57:19PM -0500, Laura I. Toma wrote:
> 
> about renaming the .C files to .cc ==> it doesn't work. there is something
> wrong in one of the GRASS scripts, and make.rules comes out like this:
> 
> 
> CC = g++
> OBJ = $(OBJARCH)/main.o
> SOURCES = main.cc
> $(OBJARCH)/main.o:	main.cc $(HEADERS)
> $(GISLIB):	#
> $(DEPGISLIB):	#
> $(OBJARCH)/main.o: main.c
> 	$(CC) $(CFLAGS) -c main.c -o $@
>                                ^^^
>                                !!!
> 
> Notice that in the last line main.cc became main.c; as a result i get
> an error:
> 
> make: *** No rule to make target `main.c', needed by `OBJ.i686-pc-linux-gnu/main.o'.  Stop.




More information about the grass-dev mailing list