mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Replace multiple rules for compiling binaries by one pattern rule.
Originally committed as revision 9123 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
244e1e644c
commit
90a7f95654
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user