summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2020-12-20 12:22:28 -0800
committerSam Lantinga <slouken@libsdl.org>2020-12-20 12:22:28 -0800
commitddbb63856c3b7bfa06aea76d7e1507d7e84b0cfe (patch)
treebe85299da8befb3cc2865109e61ed0a25340eeee /test
parent8b01545ff4f2a502f8a0b5cf7ef6a6d847b9e146 (diff)
downloadsdl-ddbb63856c3b7bfa06aea76d7e1507d7e84b0cfe.tar.gz
Fixed circular dependency problem when building in the test directory
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 4e514ff31..8c3bbf2a1 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -325,7 +325,7 @@ distclean: clean
rm -f config.status config.cache config.log
rm -rf $(srcdir)/autom4te*
-
+ifneq ($(srcdir), .)
%.bmp: $(srcdir)/%.bmp
cp $< $@
@@ -334,6 +334,7 @@ distclean: clean
%.dat: $(srcdir)/%.dat
cp $< $@
+endif
copydatafiles: copybmpfiles copywavfiles copydatfiles
.PHONY : copydatafiles