packages: http-live-streaming-tools/makefile.patch - nah, depend on .o -> ....

glen glen at pld-linux.org
Mon Aug 30 09:30:29 CEST 2010


Author: glen                         Date: Mon Aug 30 07:30:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- nah, depend on .o -> .c as well then

---- Files affected:
packages/http-live-streaming-tools:
   makefile.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/http-live-streaming-tools/makefile.patch
diff -u packages/http-live-streaming-tools/makefile.patch:1.2 packages/http-live-streaming-tools/makefile.patch:1.3
--- packages/http-live-streaming-tools/makefile.patch:1.2	Mon Aug 30 09:28:27 2010
+++ packages/http-live-streaming-tools/makefile.patch	Mon Aug 30 09:30:23 2010
@@ -1,6 +1,6 @@
---- http-live-streaming-tools/Makefile	2010-08-23 15:52:12.243937112 +0300
-+++ http-live-streaming-tools/Makefile	2010-08-30 10:27:02.367948681 +0300
-@@ -1,5 +1,10 @@
+--- http-live-streaming-tools/Makefile	2010-08-30 10:27:02.367948681 +0300
++++ http-live-streaming-tools/Makefile	2010-08-30 10:29:49.374933976 +0300
+@@ -1,5 +1,13 @@
 -all:
 -	gcc -Wall -g live_segmenter.c -o live_segmenter -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthread
 +CC := gcc
@@ -8,8 +8,11 @@
 +
 +all: live_segmenter
 +
-+live_segmenter:
-+	$(CC) -Wall $(CFLAGS) live_segmenter.c -o live_segmenter $(LDFLAGS) -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthread
++%.o: %.c
++	$(CC) -Wall $(CFLAGS) live_segmenter.c -c
++
++live_segmenter: live_segmenter.o
++	$(CC) -Wall $(CFLAGS) $< -o $@ $(LDFLAGS) -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthread
  
  clean:
  	rm -f live_segmenter
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/http-live-streaming-tools/makefile.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list