source: soft/giet_vm/applications/dhrystone/Makefile @ 773

Last change on this file since 773 was 589, checked in by alain, 9 years ago

Modify all applications to support two new rules:
1) introduce a local Makefile for each application.
2) change "application.elf" name to "application/appli.elf" name in the application.py" file.
Introduce the shell application.

File size: 382 bytes
Line 
1
2APP_NAME = dhrystone
3
4OBJS = dhry_1.o \
5       dhry_2.o
6
7LIBS = -L../../build/libs -luser
8
9INCLUDES = -I../../giet_libs -I. -I../..
10
11LIB_DEPS = ../../build/libs/libuser.a
12
13appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS)
14        $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS)
15        $(DU) -D $@ > $@.txt
16
17%.o: %.c
18        $(CC)  $(INCLUDES) $(CFLAGS) -c -o  $@ $<
19
20clean:
21        rm -f *.o *.elf *.txt core *~
Note: See TracBrowser for help on using the repository browser.