Slightly simplify apiexample compilation command line.
authorDiego Biurrun <diego@biurrun.de>
Tue, 3 Oct 2006 18:03:45 +0000 (18:03 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 3 Oct 2006 18:03:45 +0000 (18:03 +0000)
Originally committed as revision 6543 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 0832221..17481c3 100644 (file)
@@ -401,7 +401,7 @@ clean::
 
 # api example program
 apiexample: apiexample.c $(LIB)
 
 # 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
 
 # cpuid test
 cpuid_test: i386/cputest.c