Commit 90a7f956 authored by Diego Biurrun's avatar Diego Biurrun

Replace multiple rules for compiling binaries by one pattern rule.

Originally committed as revision 9123 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 244e1e64
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment