Slightly simplify apiexample compilation command line.
[ffmpeg.git] / libavcodec / Makefile
index 0832221..17481c3 100644 (file)
@@ -401,7 +401,7 @@ clean::
 
 # api example program
 apiexample: apiexample.c $(LIB)
-       $(CC) $(CFLAGS) -o $@ $< $(LIB) $(LIBAVUTIL) $(EXTRALIBS)
+       $(CC) $(CFLAGS) -o $@ $^ $(LIBAVUTIL) $(EXTRALIBS)
 
 # cpuid test
 cpuid_test: i386/cputest.c