1bin_PROGRAMS = shaaft 2 3shaaft_SOURCES = \ 4 main.cpp \ 5 Game.cpp \ 6 GameState.cpp \ 7 Audio.cpp \ 8 SampleManager.cpp \ 9 FontManager.cpp \ 10 BlockModel.cpp \ 11 BlockController.cpp \ 12 BlockViewBase.cpp \ 13 BlockViewSmooth.cpp \ 14 BlockViewGL.cpp \ 15 BlockViewGLSmooth.cpp 16 17if WIN32 18INCLUDES = -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"./\" 19LDADD = shaaft.res ../utils/libutils.a ../utilsgl/libutilsgl.a ../utilssdl/libutilssdl.a 20else 21INCLUDES = -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"$(pkgdatadir)/\" 22LDADD = ../utils/libutils.a ../utilsgl/libutilsgl.a ../utilssdl/libutilssdl.a 23endif 24 25depend: 26 makedepend -I/usr/include/g++-3 $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(shaaft_SOURCES) 27 28if WIN32 29else 30pkgdata_DATA = resource.dat 31 32resource.dat: 33 ../tools/Packer ../data/description_file resource.dat 34 35DISTCLEANFILES = resource.dat 36endif 37 38small: 39 strip $(bin_PROGRAMS) 40 upx -9 $(bin_PROGRAMS) 41 42MAINTAINERCLEANFILES = Makefile.bak Makefile.in 43