瀏覽代碼

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