mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 22:03:14 -06:00
31 lines
548 B
Text
31 lines
548 B
Text
|
|
OBJ = fitsdataset.obj
|
|
|
|
PLUGIN_DLL = gdal_FITS.dll
|
|
|
|
EXTRAFLAGS = -I$(FITS_INC_DIR)
|
|
|
|
GDAL_ROOT = ..\..
|
|
|
|
!INCLUDE $(GDAL_ROOT)\nmake.opt
|
|
|
|
default: $(OBJ)
|
|
$(INSTALL) *.obj ..\o
|
|
|
|
clean:
|
|
-del *.obj
|
|
-del *.dll
|
|
-del *.exp
|
|
-del *.lib
|
|
-del *.manifest
|
|
|
|
plugin: $(PLUGIN_DLL)
|
|
|
|
$(PLUGIN_DLL): $(OBJ)
|
|
link /dll $(LDEBUG) /out:$(PLUGIN_DLL) $(OBJ) $(GDALLIB) $(FITS_LIB)
|
|
if exist $(PLUGIN_DLL).manifest mt -manifest $(PLUGIN_DLL).manifest -outputresource:$(PLUGIN_DLL);2
|
|
|
|
plugin-install:
|
|
-mkdir $(PLUGINDIR)
|
|
$(INSTALL) $(PLUGIN_DLL) $(PLUGINDIR)
|
|
|