
OBJ	=	gdalopeninfo.obj gdaldrivermanager.obj gdaldriver.obj \
		gdaldataset.obj gdalrasterband.obj gdal_misc.obj \
		rasterio.obj gdalrasterblock.obj gdal_rat.obj \
		gdalcolortable.obj overview.obj gdaldefaultoverviews.obj \
		gdalmajorobject.obj gdalpamdataset.obj gdalpamrasterband.obj \
		gdaljp2metadata.obj gdaljp2box.obj gdalgmlcoverage.obj \
		gdalmultidomainmetadata.obj gdalpamproxydb.obj \
		gdalallvalidmaskband.obj gdalnodatamaskband.obj \
		gdal_rpcimdio.obj gdalproxydataset.obj gdalproxypool.obj \
		gdalnodatavaluesmaskband.obj gdaldefaultasync.obj \
        gdaldllmain.obj

RES	=	Version.res

GDAL_ROOT	=	..

!INCLUDE ..\nmake.opt

EXTRAFLAGS =	$(PAM_SETTING) -I..\frmts\gtiff

default:	$(OBJ) $(RES)

clean:
	-del *.obj *.res

Version.res:	
	rc -fo Version.res -r -I..\port Version.rc

gdal_misc.obj:	gdal_misc.cpp gdal_version.h
