source:
soft/giet_vm/applications/dhrystone/Makefile
@
692
Last change on this file since 692 was 589, checked in by , 9 years ago | |
---|---|
File size: 382 bytes |
Rev | Line | |
---|---|---|
[241] | 1 | |
[589] | 2 | APP_NAME = dhrystone |
[241] | 3 | |
[589] | 4 | OBJS = dhry_1.o \ |
5 | dhry_2.o | |
[241] | 6 | |
[589] | 7 | LIBS = -L../../build/libs -luser |
[241] | 8 | |
[589] | 9 | INCLUDES = -I../../giet_libs -I. -I../.. |
[241] | 10 | |
[589] | 11 | LIB_DEPS = ../../build/libs/libuser.a |
[241] | 12 | |
[589] | 13 | appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) |
14 | $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS) | |
15 | $(DU) -D $@ > $@.txt | |
[241] | 16 | |
17 | %.o: %.c | |
[589] | 18 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
[241] | 19 | |
20 | clean: | |
[589] | 21 | rm -f *.o *.elf *.txt core *~ |
Note: See TracBrowser
for help on using the repository browser.