[Commits] SDL: test: Makefile should copy .dat files for testoverlay2.

libsdl.org revision control commits-owner at libsdl.org
Sat Sep 1 21:35:25 PDT 2018


details:   https://hg.libsdl.org/SDL/rev/6512477ff395
changeset: 12170:6512477ff395
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Sun Sep 02 00:35:11 2018 -0400
description:
test: Makefile should copy .dat files for testoverlay2.

diffstat:

 test/Makefile.in |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r be34b836f738 -r 6512477ff395 test/Makefile.in
--- a/test/Makefile.in	Sat Sep 01 20:47:12 2018 -0400
+++ b/test/Makefile.in	Sun Sep 02 00:35:11 2018 -0400
@@ -317,7 +317,10 @@
 %.wav: $(srcdir)/%.wav
 	cp $< $@
 
-copydatafiles: copybmpfiles copywavfiles
+%.dat: $(srcdir)/%.dat
+	cp $< $@
+
+copydatafiles: copybmpfiles copywavfiles copydatfiles
 .PHONY : copydatafiles
 
 copybmpfiles: $(foreach bmp,$(wildcard $(srcdir)/*.bmp),$(notdir $(bmp)))
@@ -326,3 +329,6 @@
 copywavfiles: $(foreach wav,$(wildcard $(srcdir)/*.wav),$(notdir $(wav)))
 .PHONY : copywavfiles
 
+copydatfiles: $(foreach dat,$(wildcard $(srcdir)/*.dat),$(notdir $(dat)))
+.PHONY : copydatfiles
+


More information about the commits mailing list