test: Makefile should copy .dat files for testoverlay2.

This commit is contained in:
Ryan C. Gordon 2018-09-02 00:35:11 -04:00
parent 3634e563c4
commit aae29c9ebd
1 changed files with 7 additions and 1 deletions

View File

@ -317,7 +317,10 @@ distclean: clean
%.wav: $(srcdir)/%.wav %.wav: $(srcdir)/%.wav
cp $< $@ cp $< $@
copydatafiles: copybmpfiles copywavfiles %.dat: $(srcdir)/%.dat
cp $< $@
copydatafiles: copybmpfiles copywavfiles copydatfiles
.PHONY : copydatafiles .PHONY : copydatafiles
copybmpfiles: $(foreach bmp,$(wildcard $(srcdir)/*.bmp),$(notdir $(bmp))) copybmpfiles: $(foreach bmp,$(wildcard $(srcdir)/*.bmp),$(notdir $(bmp)))
@ -326,3 +329,6 @@ copybmpfiles: $(foreach bmp,$(wildcard $(srcdir)/*.bmp),$(notdir $(bmp)))
copywavfiles: $(foreach wav,$(wildcard $(srcdir)/*.wav),$(notdir $(wav))) copywavfiles: $(foreach wav,$(wildcard $(srcdir)/*.wav),$(notdir $(wav)))
.PHONY : copywavfiles .PHONY : copywavfiles
copydatfiles: $(foreach dat,$(wildcard $(srcdir)/*.dat),$(notdir $(dat)))
.PHONY : copydatfiles