source: soft/giet_vm/applications/mjpeg/Makefile @ 753

Last change on this file since 753 was 741, checked in by alain, 9 years ago

Remove the TG thread: The mjpeg strem dispatch is
directly done by the main thread.

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