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