source: soft/giet_vm/applications/hello/Makefile @ 824

Last change on this file since 824 was 824, checked in by alain, 8 years ago

bloup

File size: 516 bytes
Line 
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 = hello
9
10LIBS = -L../../build/libs -luser
11
12LIB_DEPS = ../../build/libs/libuser.a
13
14INCLUDES = -I. -I../.. -I../../giet_libs
15
16OBJS= hello.o
17
18appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) $(APP_NAME).py
19        $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS)
20        $(DU) -D $@ > $@.txt
21
22%.o: %.c
23        $(CC)  $(INCLUDES) $(CFLAGS) -c -o  $@ $<
24
25clean:
26        rm -f *.o *.elf *.txt core *~
Note: See TracBrowser for help on using the repository browser.