source: soft/giet_vm/applications/fft/Makefile

Last change on this file was 812, checked in by alain, 9 years ago

Introduce application FFT.

File size: 544 bytes
Line 
1
2CC = mipsel-unknown-elf-gcc
3LD = mipsel-unknown-elf-ld
4DU = mipsel-unknown-elf-objdump
5
6APP_NAME = fft
7
8OBJS = fft.o
9
10LIBS= -L../../build/libs -luser -lmath
11
12INCLUDES = -I.  -I../..  -I../../giet_libs  -I../../giet_xml 
13
14LIB_DEPS = ../../build/libs/libuser.a  ../../build/libmath.a
15
16# building rules
17
18.PHONY: clean
19
20appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) $(APP_NAME).py
21        $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS)
22        $(DU) -D $@ > $@.txt
23
24%.o: %.c
25        $(CC)  $(INCLUDES) $(CFLAGS) -c -o  $@ $<
26
27clean:
28        rm -f *.o *.elf *.txt core *~
Note: See TracBrowser for help on using the repository browser.