Last change
on this file since 723 was
723,
checked in by alain, 9 years ago
|
Introduce application mjpeg.
|
File size:
996 bytes
|
Line | |
---|
1 | |
---|
2 | CC = mipsel-unknown-elf-gcc |
---|
3 | AS = mipsel-unknown-elf-as |
---|
4 | LD = mipsel-unknown-elf-ld |
---|
5 | DU = mipsel-unknown-elf-objdump |
---|
6 | AR = mipsel-unknown-elf-ar |
---|
7 | |
---|
8 | APP_NAME = mjpeg |
---|
9 | |
---|
10 | OBJS = mjpeg.o \ |
---|
11 | tg.o \ |
---|
12 | demux.o \ |
---|
13 | vld.o \ |
---|
14 | iqzz.o \ |
---|
15 | idct.o \ |
---|
16 | libu.o |
---|
17 | |
---|
18 | CFLAGS = -G0 |
---|
19 | |
---|
20 | LIBS= -L../../build/libs -luser |
---|
21 | |
---|
22 | INCLUDES = -I. -I../.. -I../../giet_libs -I../../giet_xml |
---|
23 | |
---|
24 | LIB_DEPS = ../../build/libs/libuser.a |
---|
25 | |
---|
26 | appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) |
---|
27 | $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS) |
---|
28 | $(DU) -D $@ > $@.txt |
---|
29 | |
---|
30 | mjpeg.o: mjpeg.c |
---|
31 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
32 | |
---|
33 | tg.o: tg.c |
---|
34 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
35 | |
---|
36 | demux.o: demux.c |
---|
37 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
38 | |
---|
39 | vld.o: vld.c |
---|
40 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
41 | |
---|
42 | iqzz.o: iqzz.c |
---|
43 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
44 | |
---|
45 | idct.o: idct.c |
---|
46 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
47 | |
---|
48 | libu.o: libu.c |
---|
49 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
50 | |
---|
51 | clean: |
---|
52 | rm -f *.o *.elf *.txt core *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.