--- earthview/Makefile.orig Thu Jul 14 23:16:30 2005 +++ earthview/Makefile Thu Oct 27 11:52:21 2005 @@ -8,7 +8,7 @@ all: earthview earthview: earthview.c - gcc -Wall -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L/usr/X11R6/lib -lX11 -lm -lz -lbz2 + $(CC) $(CFLAGS) -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -I$(X11BASE)/include -L$(X11BASE)/lib -lX11 -lm -lz -lbz2 install: install -c -s earthview $(BINDIR)