diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-08-23 20:17:25 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-08-27 10:09:31 +0200 |
commit | c0bca6425d6e7e5d9f3094f56a17bad213c639db (patch) | |
tree | 976175c9b6558fa9478deb41cec87310d3153ac3 /doc/examples/Makefile | |
parent | 73b40dafc8365eeb7c1451d3221f2f27d7f22e8f (diff) | |
download | ffmpeg-c0bca6425d6e7e5d9f3094f56a17bad213c639db.tar.gz |
examples/decoding_encoding: store temporary files in current dir
Do not clutter the temporary directory with files, also "/tmp" is not
always available, e.g. in Windows.
Also add the clean-test Makefile rule, which will clean the generated
files.
Diffstat (limited to 'doc/examples/Makefile')
-rw-r--r-- | doc/examples/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile index 5217d6e56a..c630b2aa9e 100644 --- a/doc/examples/Makefile +++ b/doc/examples/Makefile @@ -23,9 +23,12 @@ OBJS=$(addsuffix .o,$(EXAMPLES)) decoding_encoding: LDLIBS += -lm muxing: LDLIBS += -lm -.phony: all clean +.phony: all clean-test clean all: $(OBJS) $(EXAMPLES) -clean: +clean-test: + rm -rf test*.pgm test.h264 test.mp2 test.sw test.mpg + +clean: clean-test rm -rf $(EXAMPLES) $(OBJS) |