[Ffmpeg-cvslog] r6198 - trunk/vhook/Makefile

diego subversion
Fri Sep 8 19:18:46 CEST 2006


Author: diego
Date: Fri Sep  8 19:18:46 2006
New Revision: 6198

Modified:
   trunk/vhook/Makefile

Log:
Add -g to LDFLAGS instead of adding it to the command line.


Modified: trunk/vhook/Makefile
==============================================================================
--- trunk/vhook/Makefile	(original)
+++ trunk/vhook/Makefile	Fri Sep  8 19:18:46 2006
@@ -4,6 +4,7 @@
 
 CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec \
        -I$(SRC_PATH)/libavformat $(VHOOKCFLAGS) -DHAVE_AV_CONFIG_H
+LDFLAGS+= -g
 
 HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF)
 ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF)
@@ -35,7 +36,7 @@
 	-rmdir "$(shlibdir)/vhook/"
 
 %$(SLIBSUF): %.o
-	$(CC) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $< $(LIBS_$@)
+	$(CC) $(LDFLAGS) -o $@ $(VHOOKSHFLAGS) $< $(LIBS_$@)
 
 clean:
 	rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll




More information about the ffmpeg-cvslog mailing list