Browse Source

Fixed circular dependency problem when building in the test directory

Sam Lantinga 4 years ago
parent
commit
67e9132dd5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/Makefile.in

+ 2 - 1
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