mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +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
|
@mkdir -p vsynth2
|
||||||
$(BUILD_DIR)/$< 'vsynth2/' $(SRC_DIR)/lena.pnm
|
$(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
|
# audio generation
|
||||||
|
|
||||||
asynth1.sw: audiogen$(EXESUF)
|
asynth1.sw: audiogen$(EXESUF)
|
||||||
$(BUILD_DIR)/$< $@
|
$(BUILD_DIR)/$< $@
|
||||||
|
|
||||||
audiogen$(EXESUF): audiogen.c
|
%$(EXESUF): %.c
|
||||||
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
|
|
||||||
|
|
||||||
tiny_psnr$(EXESUF): tiny_psnr.c
|
|
||||||
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
|
||||||
|
|
||||||
LIBAV = ../libavformat/libavformat.a ../libavcodec/libavcodec.a ../libavutil/libavutil.a
|
LIBAV = ../libavformat/libavformat.a ../libavcodec/libavcodec.a ../libavutil/libavutil.a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user