### # # Windows nmake make file. This code should compile with the Microsoft .NET # compiler. # # Currently for a typical build on windows you would do the following. # - cd src packages # - untar the gdal package # - cd gdal and edit the nmake.opt file appropriately. # - cd back to the ossim top and edit its nmake.opt file appropriately. # - nmake /f makefile # - nmake /f makefile install (if you want the apps in the bin directory. # # NOTE: If you make shared apps it's handy to copy the ossim.dll to the bin # directory. ### !INCLUDE ..\nmake.opt INC = -I.. -I. -I$(OSSIM_HOME)\include LINK = link LFLAGS = /NOLOGO /SUBSYSTEM:WINDOWS /LIBPATH:"$(OSSIM_HOME)\lib\ossim" $(SHARED_OSSIM_LINK) LIBS = "$(OSSIM_LIB)" OBJ = ossimNdfPluginInit.obj \ ossimNdfHeader.obj \ ossimNdfTileSource.obj \ ossimNdfReaderFactory.obj default: $(OBJ) link /VERSION:1.6.6 /DLL /OUT:".\ossim_ndf_plugin.dll" /IMPLIB:".\ossim_ndf_plugin.lib" /NOLOGO $(OBJ) $(LFLAGS) ndf: ndf_test.cpp $(CC) $(APP_CFLAGS) ndf_test.cpp $(SHARED_OSSIM_LINK) .\ossim_ndf_plugin.lib clean: $(RM) *.obj *.exe *.lib *.exp *.dll