aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-27 17:50:59 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-27 17:50:59 +0000
commiteba6ba4a743a6b9786bb80ea08f21aca3be2404f (patch)
tree09ae7c3ffacdcd5810570b130681c6c9fe291d97
parentf8d7c9d373a8aeede75454a5d51de958b2321478 (diff)
downloadffmpeg-eba6ba4a743a6b9786bb80ea08f21aca3be2404f.tar.gz
Add $(EXESUF) where necessary.
Originally committed as revision 11636 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index a6485b72e6..8d6f20a197 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -467,22 +467,22 @@ clean::
ps2/*.o ps2/*~ \
sh4/*.o sh4/*~ \
sparc/*.o sparc/*~ \
- apiexample $(TESTS)
+ apiexample$(EXESUF) $(TESTS)
-TESTS = $(addsuffix -test, cabac dct eval fft h264 imgresample rangecoder snow)
+TESTS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 imgresample rangecoder snow)
ifeq ($(ARCH_X86),yes)
-TESTS += cpuid-test motion-test
+TESTS += cpuid-test$(EXESUF) motion-test$(EXESUF)
endif
-tests: apiexample $(TESTS)
+tests: apiexample$(EXESUF) $(TESTS)
-cpuid-test: i386/cputest.c
-apiexample: apiexample.o $(LIBNAME)
-dct-test: dct-test.o fdctref.o $(LIBNAME)
-fft-test: fft-test.o $(LIBNAME)
-motion-test: motion-test.o $(LIBNAME)
+cpuid-test$(EXESUF): i386/cputest.c
+apiexample$(EXESUF): apiexample.o $(LIBNAME)
+dct-test$(EXESUF): dct-test.o fdctref.o $(LIBNAME)
+fft-test$(EXESUF): fft-test.o $(LIBNAME)
+motion-test$(EXESUF): motion-test.o $(LIBNAME)
-%-test: %.c $(LIBNAME)
+%-test$(EXESUF): %.c $(LIBNAME)
$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
.PHONY: tests