From eba1e7cb9ee547e96cfee2fa8faf5de92c6be507 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 18 Mar 2021 06:40:28 -0400 Subject: build: Don't clean source files in in-tree build --- (limited to 'games/classic/local.mk') 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) -- cgit v0.9.1