summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-18 06:40:28 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-18 06:40:28 (EDT)
commiteba1e7cb9ee547e96cfee2fa8faf5de92c6be507 (patch)
treec6ab9f794a6bd5c62b5988a17c257c7748198674 /games
parent7d6c171379b2a57a97f332a4e7fcd3135dcccb5b (diff)
downloaddodge-balls-eba1e7cb9ee547e96cfee2fa8faf5de92c6be507.zip
dodge-balls-eba1e7cb9ee547e96cfee2fa8faf5de92c6be507.tar.gz
dodge-balls-eba1e7cb9ee547e96cfee2fa8faf5de92c6be507.tar.bz2
build: Don't clean source files in in-tree build
Diffstat (limited to 'games')
-rw-r--r--games/classic/local.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/classic/local.mk b/games/classic/local.mk
index 0cb0d63..f22e007 100644
--- a/games/classic/local.mk
+++ b/games/classic/local.mk
@@ -22,6 +22,13 @@ dist_noinst_DATA = \
nodist_games_classic_DATA = \
%reldir%/tileset.png
+CLEANFILES += \
+ $(nodist_games_classic_DATA)
+if OUT_OF_TREE
+CLEANFILES += \
+ $(dist_games_classic_DATA)
+endif
+
# 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)