Opened 21 years ago

Last modified 21 years ago

#284 closed defect (fixed)

internal headers must be before system headers

Reported by: candrsn@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

same problem in stock Cygwin install and in Solaris 2.7
and all systems with gif header in /usr/local/include

in frmts/gis/GNUmakefile

%.o:    %.c
        $(CC) -c $(GDAL_INCLUDE) $(CFLAGS) $(XTRA_OPT) $*.c -o $*.o


XTRA_OPT must come before normal headers, otherwise gif headers in
/usr/local/include will be picked up.


%.o:    %.c
        $(CC) -c $(XTRA_OPT) $(GDAL_INCLUDE) $(CFLAGS) $*.c -o $*.o

Change History (1)

comment:1 by warmerdam, 21 years ago

Carl, 

I updated the three implicit rules in frmts/gif/GNUmakefile as you suggested.

Note: See TracTickets for help on using tickets.