Преглед изворни кода

Fixed circular dependency problem when building in the test directory

Sam Lantinga пре 4 година
родитељ
комит
67e9132dd5
1 измењених фајлова са 2 додато и 1 уклоњено
  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