summaryrefslogtreecommitdiffstats
path: root/games/classic/local.mk
blob: ee679fb4d5b1fc8a105780e02677e63debef977a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
games_classicdir = $(gamesdir)/classic

dist_games_classic_DATA = \
	%reldir%/game.xml \
	%reldir%/icon.tmx \
	%reldir%/level01.tmx \
	%reldir%/level02.tmx \
	%reldir%/level03.tmx \
	%reldir%/level04.tmx \
	%reldir%/level05.tmx \
	%reldir%/level06.tmx \
	%reldir%/level07.tmx \
	%reldir%/level08.tmx \
	%reldir%/level09.tmx \
	%reldir%/level10.tmx \
	%reldir%/tileset.tsx

dist_noinst_DATA = \
	%reldir%/tileset.xcf

nodist_games_classic_DATA = \
	%reldir%/tileset.png

# To run in place, the engine needs game data in the build directory, which may
# be different from the source directory.
$(dist_games_classic_DATA) $(dist_noinst_DATA): %reldir%/$(am__dirstamp)
	$(AM_V_GEN)[ x"$(srcdir)" = x"$(builddir)" ] || cp "$(srcdir)/$@" "$@"
%reldir%/$(am__dirstamp):
	@$(MKDIR_P) %reldir%
	@: > %reldir%/$(am__dirstamp)