[GRASS5] PATCH - r.out.tiff

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Feb 22 05:20:52 EST 2005


On Mon, 21 Feb 2005, Brad Douglas wrote:

> Here is a small patch against r.out.tiff for compiling:
>
> Index: Makefile
> ===================================================================
> RCS
> file: /home/grass/grassrepository/grass6/raster/r.out.tiff/Makefile,v
> retrieving revision 1.1
> diff -u -r1.1 Makefile
> --- Makefile	6 May 2003 14:39:23 -0000	1.1
> +++ Makefile	22 Feb 2005 03:45:05 -0000
> @@ -1,7 +1,7 @@
> MODULE_TOPDIR = ../..
>
> PGM = r.out.tiff
> -EXTRA_CFLAGS = $(TIFFINCPATH)
> +EXTRA_CFLAGS = $(TIFFINCPATH) $(TIFFLIBPATH)
>
> LIBES = $(GISLIB) $(TIFFLIB)
> DEPENDENCIES = $(GISDEP)
>

Without looking at the rest of the makefile, I'd say changing the LIBES 
line to
LIBES = $(GISLIB) $(TIFFLIBPATH) $(TIFFLIB)
would be the tidier way to do it, no?
Perhaps even
EXTRA_INC = $(TIFFINCPATH)
rather than EXTRA_CFLAGS although I think it depends on which GRASS 
version you're using to pick this up.

Paul





More information about the grass-dev mailing list