libtiff/contrib/addtiffo/Makefile

28 lines
624 B
Makefile
Raw Normal View History

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
CPPC = gcc
CFLAGS = -O -I$(LIBTIFF_DIR)
LIBS = $(LIBTIFF_DIR)/libtiff.a -lm
addtiffo: addtiffo.o tif_overview.o rawblockedimage.o
$(CC) $(CFLAGS) addtiffo.o tif_overview.o rawblockedimage.o \
$(LIBS) -o addtiffo
addtiffo.o: addtiffo.c
$(CC) -c $(CFLAGS) addtiffo.c
tif_overview.o: tif_overview.cpp
$(CPPC) -c $(CFLAGS) tif_overview.cpp
rawblockedimage.o: rawblockedimage.cpp
$(CPPC) -c $(CFLAGS) rawblockedimage.cpp
clean:
rm *.o addtiffo