1bin_PROGRAMS = kuklomenos 2kuklomenos_SOURCES = ai.cc background.cc clock.cc collision.cc conffile.cc coords.cc data.cc\ 3 geom.cc gfx.cc invaders.cc keybindings.cc main.cc menu.cc node.cc\ 4 overlay.cc player.cc random.cc settings.cc shot.cc\ 5 sound.cc state.cc SDL_gfxPrimitivesDirty.cc 6noinst_HEADERS = ai.h background.h clock.h collision.h conffile.h coords.h data.h geom.h\ 7 gfx.h invaders.h keybindings.h menu.h node.h overlay.h player.h random.h\ 8 settings.h shot.h sound.h state.h SDL_gfxPrimitivesDirty.h\ 9 SDL_gfxPrimitives_font.h 10EXTRA_DIST = Mac 11AM_CPPFLAGS= 12SUBDIRS = fonts 13 14if SOUND 15SUBDIRS += SDL_mixer sounds 16LDADD = SDL_mixer/libmixer.a 17AM_CPPFLAGS += -DSOUND 18endif 19 20if HAVE_CURL 21kuklomenos_SOURCES += net.cc highScore.cc 22noinst_HEADERS += net.h highScore.h 23endif 24 25 26AM_CXXFLAGS = -Wall -pedantic 27 28AM_CPPFLAGS += -DDATADIR=\"$(pkgdatadir)\" 29 30.PHONY: debug profile 31 32debug: 33 $(MAKE) all "CXXFLAGS=-g -DDEBUG" 34profile: 35 $(MAKE) all "CXXFLAGS=-pg" 36