From 90a7f9565407cc17a0c478f10f6f1efec9dbec4c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 24 May 2007 23:32:50 +0000 Subject: [PATCH] Replace multiple rules for compiling binaries by one pattern rule. Originally committed as revision 9123 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/Makefile | 11 +---------- 1 file changed, 1 insertion(+), 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