Parent Directory | Revision Log
Revision 918 - (view) (download)
1 : | edgomez | 560 | ############################################################################# |
2 : | # | ||
3 : | # XviD examples Makefile | ||
4 : | # | ||
5 : | edgomez | 918 | # $Id: Makefile,v 1.3.2.2 2003-03-11 23:39:47 edgomez Exp $ |
6 : | edgomez | 560 | # |
7 : | ############################################################################# | ||
8 : | |||
9 : | edgomez | 909 | CC=gcc |
10 : | edgomez | 560 | |
11 : | edgomez | 677 | HDIR = -I ../src |
12 : | edgomez | 909 | CFLAGS = -Wall -g |
13 : | edgomez | 684 | LDFLAGS = -lc -lm |
14 : | edgomez | 560 | |
15 : | edgomez | 918 | SOURCES= xvid_encraw.c xvid_decraw.c |
16 : | edgomez | 560 | OBJECTS=$(SOURCES:.c=.o) |
17 : | TESTS=$(SOURCES:.c=) | ||
18 : | |||
19 : | all: $(TESTS) | ||
20 : | |||
21 : | edgomez | 677 | xvid_stat: xvid_stat.o ../build/generic/libxvidcore.a |
22 : | $(CC) $(LDFLAGS) -o $@ $< ../build/generic/libxvidcore.a | ||
23 : | edgomez | 560 | |
24 : | xvid_stat.o: xvid_stat.c | ||
25 : | $(CC) $(CFLAGS) $(HDIR) -c $< | ||
26 : | |||
27 : | edgomez | 677 | xvid_encraw: xvid_encraw.o ../build/generic/libxvidcore.a |
28 : | $(CC) $(LDFLAGS) -o $@ $< ../build/generic/libxvidcore.a | ||
29 : | edgomez | 560 | |
30 : | xvid_encraw.o: xvid_encraw.c | ||
31 : | $(CC) $(CFLAGS) $(HDIR) -c $< | ||
32 : | |||
33 : | edgomez | 677 | xvid_decraw: xvid_decraw.o ../build/generic/libxvidcore.a |
34 : | $(CC) $(LDFLAGS) -o $@ $< ../build/generic/libxvidcore.a | ||
35 : | edgomez | 560 | |
36 : | xvid_decraw.o: xvid_decraw.c | ||
37 : | $(CC) $(CFLAGS) $(HDIR) -c $< | ||
38 : | |||
39 : | clean: | ||
40 : | rm -f $(OBJECTS) $(TESTS) |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |