[FFmpeg-devel] [PATCH 01/13] doc/examples: remove explicit rules.

Clément Bœsch ubitux at gmail.com
Sat May 12 23:15:23 CEST 2012


These rules are already in gmake builtins.
---
 doc/examples/Makefile |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 29afbb2..3abd1eb 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -23,12 +23,6 @@ OBJS=$(addsuffix .o,$(EXAMPLES))
 decoding_encoding: LDLIBS += -lm
 muxing:            LDLIBS += -lm
 
-%: %.o
-	$(CC) $< $(LDLIBS) -o $@
-
-%.o: %.c
-	$(CC) $< $(CFLAGS) -c -o $@
-
 .phony: all clean
 
 all: $(OBJS) $(EXAMPLES)
-- 
1.7.10.1



More information about the ffmpeg-devel mailing list