### # $Id$ # # 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 back to the ossim top and edit its nmake.opt file appropriately. # - nmake /f makefile # # NOTE: If you make shared apps it's handy to copy the ossim.dll to the bin # directory. ### !INCLUDE ..\nmake.opt PLUGIN_ROOT = ossim_png_plugin ### # PNG includes and libs. # WINDOWS : use IntelCompiler7 prebuilt binaries (issues with Visual Studio) ### INC = -I.. -I. $(INC) $(PNG_INC) LINK = link OBJ = \ ossimPngPluginInit.obj \ ossimPngReader.obj \ ossimPngReaderFactory.obj \ ossimPngWriter.obj \ ossimPngWriterFactory.obj default: $(OBJ) link /NOLOGO /SUBSYSTEM:WINDOWS /VERSION:$(VERSION_STRING) /DLL /OUT:"$(INSTALL_DIR)\$(PLUGIN_ROOT).dll" /IMPLIB:"$(LIB_DIR)\$(PLUGIN_ROOT).lib" $(OBJ) $(OSSIM_HOME)\lib\ossim.lib $(PNG_LIB) $(ZLIB_LIB) clean: $(RM) *.obj $(RM) $(LIB_DIR)\$(PLUGIN_ROOT).*