2009-11-07 15:46:37 -08:00
|
|
|
AM_CPPFLAGS = $(SDL_CFLAGS) $(PHYSFS_CFLAGS) $(PNG_CFLAGS) $(OPENGL_CFLAGS) $(WZ_CPPFLAGS) -I$(top_srcdir)/tools -I. -I$(top_srcdir)/lib/framework
|
2009-02-26 11:41:25 -08:00
|
|
|
|
2009-04-17 15:27:05 -07:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
maplist.txt
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
2009-07-29 13:59:04 -07:00
|
|
|
maptest \
|
|
|
|
astartest
|
2009-04-17 15:27:05 -07:00
|
|
|
|
2009-02-26 11:41:25 -08:00
|
|
|
maptest_SOURCES = ../tools/map/mapload.c maptest.c
|
2009-11-07 15:46:37 -08:00
|
|
|
noinst_HEADERS = ../tools/map/mapload.h
|
2009-07-29 13:59:04 -07:00
|
|
|
maptest_LDADD = $(PHYSFS_LIBS) $(PNG_LIBS)
|
|
|
|
|
|
|
|
astartest_SOURCES = astartest.c
|
|
|
|
astartest_LDADD = $(SDL_LIBS)
|
2009-02-26 11:41:25 -08:00
|
|
|
|
2009-04-17 15:27:05 -07:00
|
|
|
CLEANFILES = \
|
|
|
|
$(BUILT_SOURCES)
|
|
|
|
|
|
|
|
TESTS = \
|
2009-07-29 13:59:04 -07:00
|
|
|
maptest \
|
|
|
|
astartest
|
2009-02-26 11:41:25 -08:00
|
|
|
|
|
|
|
maplist.txt:
|
2009-11-07 15:46:37 -08:00
|
|
|
(cd $(abs_top_srcdir)/data ; find base mods -name game.map > $(abs_top_builddir)/tests/maplist.txt )
|
2009-02-26 11:41:25 -08:00
|
|
|
touch $@
|