Parent Directory | Revision Log
Revision 1229 - (view) (download)
1 : | edgomez | 560 | ############################################################################# |
2 : | # | ||
3 : | # XviD examples Makefile | ||
4 : | # | ||
5 : | chl | 1229 | # $Id: Makefile,v 1.3.2.6 2003-11-30 09:45:52 chl Exp $ |
6 : | edgomez | 560 | # |
7 : | ############################################################################# | ||
8 : | |||
9 : | edgomez | 1060 | include ../build/generic/platform.inc |
10 : | edgomez | 560 | |
11 : | edgomez | 1060 | HDIR = -I../src |
12 : | edgomez | 1157 | CFLAGS = -g $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS) |
13 : | edgomez | 1154 | LDFLAGS = -lc -lm -lxvidcore |
14 : | edgomez | 560 | |
15 : | edgomez | 1060 | SOURCES= xvid_encraw.c xvid_decraw.c xvid_bench.c |
16 : | edgomez | 560 | OBJECTS=$(SOURCES:.c=.o) |
17 : | TESTS=$(SOURCES:.c=) | ||
18 : | |||
19 : | all: $(TESTS) | ||
20 : | |||
21 : | edgomez | 1154 | xvid_encraw: xvid_encraw.o |
22 : | chl | 1229 | $(CC) -o $@ $< $(LDFLAGS) |
23 : | edgomez | 560 | |
24 : | xvid_encraw.o: xvid_encraw.c | ||
25 : | $(CC) $(CFLAGS) $(HDIR) -c $< | ||
26 : | |||
27 : | edgomez | 1154 | xvid_decraw: xvid_decraw.o |
28 : | chl | 1229 | $(CC) -o $@ $< $(LDFLAGS) |
29 : | edgomez | 560 | |
30 : | xvid_decraw.o: xvid_decraw.c | ||
31 : | $(CC) $(CFLAGS) $(HDIR) -c $< | ||
32 : | |||
33 : | edgomez | 1060 | xvid_bench: xvid_bench.o |
34 : | chl | 1229 | $(CC) -o $@ $< $(LDFLAGS) |
35 : | edgomez | 1060 | |
36 : | xvid_bench.o: xvid_bench.c | ||
37 : | $(CC) $(CFLAGS) $(HDIR) -c $< | ||
38 : | |||
39 : | edgomez | 560 | clean: |
40 : | rm -f $(OBJECTS) $(TESTS) |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |