roentgen b75cab
#
roentgen b75cab
# If libtiff.a is installed in /usr/lib or /usr/local/lib just point
roentgen b75cab
# LIBTIFF_DIR there.  It doesn't need a full libtiff tree.
roentgen b75cab
#
roentgen b75cab
!INCLUDE ..\..\nmake.opt
roentgen b75cab
roentgen b75cab
LIBTIFF_DIR =	..\..\libtiff
roentgen b75cab
#
roentgen b75cab
INCL		= 	-I..\..\libtiff
roentgen b75cab
LIBS	=	$(LIBTIFF_DIR)\libtiff.lib
roentgen b75cab
roentgen b75cab
addtiffo:	addtiffo.obj tif_overview.obj tif_ovrcache.obj
roentgen b75cab
	$(CC) $(CFLAGS) addtiffo.obj tif_overview.obj tif_ovrcache.obj \
roentgen b75cab
		$(LIBS) /Feaddtiffo.exe
roentgen b75cab
roentgen b75cab
roentgen b75cab
addtiffo.obj:	addtiffo.c
roentgen b75cab
	$(CC) -c $(CFLAGS) addtiffo.c
roentgen b75cab
roentgen b75cab
tif_overview.obj:	tif_overview.c
roentgen b75cab
	$(CC) -c $(CFLAGS) tif_overview.c
roentgen b75cab
roentgen b75cab
tif_ovrcache.obj:	tif_ovrcache.c
roentgen b75cab
	$(CC) -c $(CFLAGS) tif_ovrcache.c
roentgen b75cab
roentgen b75cab
clean:
roentgen b75cab
	-del *.obj
roentgen b75cab
	-del  addtiffo.exe