source: soft/giet_vm/applications/ocean/Makefile @ 814

Last change on this file since 814 was 813, checked in by alain, 9 years ago

Cosmetic.

File size: 800 bytes
RevLine 
[800]1
2CC = mipsel-unknown-elf-gcc
3LD = mipsel-unknown-elf-ld
4DU = mipsel-unknown-elf-objdump
5
6APP_NAME = ocean
7
8OBJS = laplacalc.o \
9       jacobcalc.o \
10       jacobcalc2.o \
11       linkup.o \
12       multi.o \
13       slave1.o \
14       slave2.o \
15       subblock.o \
16       main.o
17
18LIBS = -L../../build/libs -luser -lmath
19
20INCLUDES = -I.  -I../..  -I../../giet_libs  -I../../giet_xml 
21
[813]22LIB_DEPS = ../../build/libs/libuser.a  ../../build/libmath.a
[800]23
24CFLAGS := -O2 -g -Wall -fomit-frame-pointer -mno-gpopt -fno-delete-null-pointer-checks
25
26# building rules
27
28.PHONY: clean
29
[813]30appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) $(APP_NAME).py
[800]31        $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS)
32        $(DU) -D $@ > $@.txt
33
34%.o: %.c decs.h
35        $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
36
37clean:
38        rm -f *.o *.elf *.txt *.pyc core *~
Note: See TracBrowser for help on using the repository browser.