bin_PROGRAMS = shaaft shaaft_SOURCES = \ main.cpp \ Game.cpp \ GameState.cpp \ Audio.cpp \ SampleManager.cpp \ FontManager.cpp \ BlockModel.cpp \ BlockController.cpp \ BlockViewBase.cpp \ BlockViewSmooth.cpp \ BlockViewGL.cpp \ BlockViewGLSmooth.cpp if WIN32 INCLUDES = -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"./\" LDADD = shaaft.res ../utils/libutils.a ../utilsgl/libutilsgl.a ../utilssdl/libutilssdl.a else INCLUDES = -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"$(pkgdatadir)/\" LDADD = ../utils/libutils.a ../utilsgl/libutilsgl.a ../utilssdl/libutilssdl.a endif depend: makedepend -I/usr/include/g++-3 $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(shaaft_SOURCES) if WIN32 else pkgdata_DATA = resource.dat resource.dat: ../tools/Packer ../data/description_file resource.dat DISTCLEANFILES = resource.dat endif small: strip $(bin_PROGRAMS) upx -9 $(bin_PROGRAMS) MAINTAINERCLEANFILES = Makefile.bak Makefile.in