1999-08-16 21:47:59 -04:00
|
|
|
#
|
|
|
|
# If libtiff.a is installed in /usr/lib or /usr/local/lib just point
|
|
|
|
# LIBTIFF_DIR there. It doesn't need a full libtiff tree.
|
|
|
|
#
|
|
|
|
LIBTIFF_DIR = ../../libtiff
|
|
|
|
#
|
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -O -I$(LIBTIFF_DIR)
|
|
|
|
LIBS = $(LIBTIFF_DIR)/libtiff.a -lm
|
|
|
|
|
2000-01-28 10:06:42 -05:00
|
|
|
addtiffo: addtiffo.o tif_overview.o tif_ovrcache.o
|
|
|
|
$(CXX) $(CFLAGS) addtiffo.o tif_overview.o tif_ovrcache.o \
|
1999-08-16 21:47:59 -04:00
|
|
|
$(LIBS) -o addtiffo
|
|
|
|
|
|
|
|
|
|
|
|
addtiffo.o: addtiffo.c
|
|
|
|
$(CC) -c $(CFLAGS) addtiffo.c
|
|
|
|
|
2000-01-28 10:06:42 -05:00
|
|
|
tif_overview.o: tif_overview.c
|
|
|
|
$(CC) -c $(CFLAGS) tif_overview.c
|
1999-08-16 21:47:59 -04:00
|
|
|
|
2000-01-28 10:06:42 -05:00
|
|
|
tif_ovrcache.o: tif_ovrcache.c
|
|
|
|
$(CC) -c $(CFLAGS) tif_ovrcache.c
|
1999-08-16 21:47:59 -04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm *.o addtiffo
|