Simplify command with automatic variable.
[ffmpeg.git] / 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
-       $(CC) $(LDFLAGS) -o $@ output_example.o $(EXTRALIBS)
+       $(CC) $(LDFLAGS) -o $@ $< $(EXTRALIBS)
 
 qt-faststart$(EXESUF): qt-faststart.c
        $(CC) $(CFLAGS) $< -o $@