2003-10-28 00:07:21 +08:00
|
|
|
TOPDIR = ../..
|
|
|
|
include $(TOPDIR)/Make/makedefs
|
|
|
|
|
|
|
|
CXXFILES =\
|
|
|
|
osgdem.cpp\
|
|
|
|
|
2004-07-28 20:29:15 +08:00
|
|
|
INC += $(GDAL_INCLUDES)
|
|
|
|
|
2004-08-04 16:27:43 +08:00
|
|
|
LIBS += -losgProducer -lProducer -losgTerrain -losgFX -losgGL2 -losgText -losgGA -losgDB -losgUtil -losg $(GDAL_LIBS) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
2004-07-28 20:29:15 +08:00
|
|
|
|
2004-08-04 16:27:43 +08:00
|
|
|
ifeq ($(OS),MINGW)
|
|
|
|
LIBS += -ljpeg -lpng -lgeotiff -ltiff -lz -L/usr/mingw/lib/malloc.o
|
|
|
|
endif
|
2003-10-28 00:07:21 +08:00
|
|
|
|
|
|
|
INSTFILES = \
|
|
|
|
$(CXXFILES)\
|
|
|
|
GNUmakefile.inst=GNUmakefile
|
|
|
|
|
|
|
|
EXEC = osgdem
|
|
|
|
|
|
|
|
INC += $(X_INC)
|
|
|
|
|
|
|
|
include $(TOPDIR)/Make/makerules
|
|
|
|
|