Last change
on this file since 617 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:
359 bytes
|
Line | |
---|
1 | |
---|
2 | APP_NAME = convol |
---|
3 | |
---|
4 | OBJS= main.o |
---|
5 | |
---|
6 | LIBS= -L../../build/libs -luser |
---|
7 | |
---|
8 | INCLUDES = -I../../giet_libs -I. -I../.. |
---|
9 | |
---|
10 | LIB_DEPS = ../../build/libs/libuser.a |
---|
11 | |
---|
12 | appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) |
---|
13 | $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS) |
---|
14 | $(DU) -D $@ > $@.txt |
---|
15 | |
---|
16 | %.o: %.c |
---|
17 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
18 | |
---|
19 | clean: |
---|
20 | rm -f *.o *.elf *.txt core *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.