Simplify command with automatic variable.
authorDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 14:05:12 +0000 (14:05 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 14:05:12 +0000 (14:05 +0000)
Originally committed as revision 9267 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 45f226c..5dcb2e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ version.h:
        $(SRC_PATH)/version.sh $(SRC_PATH)
 
 output_example$(EXESUF): output_example.o .libs
        $(SRC_PATH)/version.sh $(SRC_PATH)
 
 output_example$(EXESUF): output_example.o .libs
-       $(CC) $(LDFLAGS) -o $@ output_example.o $(EXTRALIBS)
+       $(CC) $(LDFLAGS) -o $@ $< $(EXTRALIBS)
 
 qt-faststart$(EXESUF): qt-faststart.c
        $(CC) $(CFLAGS) $< -o $@
 
 qt-faststart$(EXESUF): qt-faststart.c
        $(CC) $(CFLAGS) $< -o $@