summaryrefslogtreecommitdiffstats
path: root/games/classic/local.mk
blob: 0cb0d63cded2da70fd0b302ab01f754ebdb0731f (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
31
32
33
games_classicdir = $(gamesdir)/classic
uninstall_dirs += $(games_classicdir)

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)" ] || \
		$(LN_S) "$(abs_srcdir)/$@" "$@"
CONFIG_CLEAN_FILES += %reldir%/$(am__dirstamp)
%reldir%/$(am__dirstamp):
	@$(MKDIR_P) %reldir%
	@: > %reldir%/$(am__dirstamp)