blob: 0d0c24fa5038d17230eb2795bcfb07ad9aef4a56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
--- a/convert/Makefile 2009-08-25 21:19:42.000000000 +0200
+++ b/convert/Makefile 2009-08-25 21:22:54.000000000 +0200
@@ -53,13 +53,13 @@
all: $(TARGETS)
vidtoppm: vidtoppm.c
- $(CC) -lXvid -lX11 $(INCLUDE) -o vidtoppm vidtoppm.c
+ $(CC) $(LDFLAGS) $(INCLUDE) $@.o -o $@ -lXvid -lX11
vidtojpeg: vidtojpeg.c
- $(CC) -lXvid -lX11 $(INCLUDE) -o vidtojpeg vidtojpeg.c
+ $(CC) $(LDFLAGS) $(INCLUDE) $@.o -o $@ -lXvid -lX11
vidtoeyuv: vidtoeyuv.c
- $(CC) -lXvid -lX11 $(INCLUDE) -o vidtoeyuv vidtoeyuv.c
+ $(CC) $(LDFLAGS) $(INCLUDE) $@.o -o $@ -lXvid -lX11
wc:; wc -l *.[ch] *.pl *.table
clean:; rm -f *.o core *~ gmon.out $(TARGETS)
--- a/convert/mtv/Makefile 2009-08-25 21:19:42.000000000 +0200
+++ b/convert/mtv/Makefile 2009-08-25 21:24:31.000000000 +0200
@@ -15,12 +15,12 @@
default: movieToVid
movieToVid: movieToVid.o
- $(CC) $(CFLAGS) -o movieToVid movieToVid.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o
clean:
rm -f core lintout makeout tags Makefile.bak *.o \
movieToVid
purify: $(OBJ)
- $(PURIFY) $(CC) $(OBJ) -o movieToVid.purify
+ $(PURIFY) $(CC) $(LDFLAGS) $(OBJ) -o movieToVid.purify
--- a/mpeg_encode/Makefile 2009-08-25 21:19:43.000000000 +0200
+++ b/mpeg_encode/Makefile 2009-08-25 21:27:12.000000000 +0200
@@ -203,7 +203,6 @@
############
mpeg_encode: $(MP_ALL_OBJS) $(JPEG_LIB)
- $(PURIFY) $(CC) $(CFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
- strip mpeg_encode
+ $(PURIFY) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
profile: $(MP_ALL_OBJS)
|