Add missing $(EXESUF) to example/test program dependency declaration.
authorDiego Biurrun <diego@biurrun.de>
Tue, 31 Mar 2009 16:52:24 +0000 (16:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 31 Mar 2009 16:52:24 +0000 (16:52 +0000)
Originally committed as revision 29114 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index 8e6eb0b..bf75b64 100644 (file)
@@ -25,7 +25,7 @@ DIRS = bfin mlib ppc sparc x86
 
 include $(SUBDIR)../subdir.mak
 
 
 include $(SUBDIR)../subdir.mak
 
-$(SUBDIR)colorspace-test: $(SUBDIR)colorspace-test.o $(SUBDIR)$(LIBNAME)
+$(SUBDIR)colorspace-test$(EXESUF): $(SUBDIR)colorspace-test.o $(SUBDIR)$(LIBNAME)
 
 
-$(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
-$(SUBDIR)swscale-example: EXTRALIBS += -lm
+$(SUBDIR)swscale-example$(EXESUF): $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
+$(SUBDIR)swscale-example$(EXESUF): EXTRALIBS += -lm