summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-05-24 23:32:50 +0000
committerDiego Biurrun <diego@biurrun.de>2007-05-24 23:32:50 +0000
commit90a7f9565407cc17a0c478f10f6f1efec9dbec4c (patch)
tree17e76dfca14341ee4182d015468a68737de7a98a /tests
parent244e1e644c4a2eb3b16decdba9f28a773bdbad11 (diff)
Replace multiple rules for compiling binaries by one pattern rule.
Originally committed as revision 9123 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 0c08665c28..9fa5e72712 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -65,21 +65,12 @@ vsynth2/00.pgm: rotozoom$(EXESUF)
@mkdir -p vsynth2
$(BUILD_DIR)/$< 'vsynth2/' $(SRC_DIR)/lena.pnm
-videogen$(EXESUF): videogen.c
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
-
-rotozoom$(EXESUF): rotozoom.c
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
-
# audio generation
asynth1.sw: audiogen$(EXESUF)
$(BUILD_DIR)/$< $@
-audiogen$(EXESUF): audiogen.c
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
-
-tiny_psnr$(EXESUF): tiny_psnr.c
+%$(EXESUF): %.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
LIBAV = ../libavformat/libavformat.a ../libavcodec/libavcodec.a ../libavutil/libavutil.a