source: soft/giet_vm/applications/display/Makefile @ 648

Last change on this file since 648 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: 360 bytes
RevLine 
[191]1
[589]2APP_NAME = display
[191]3
4OBJS= main.o
5
[589]6LIBS= -L../../build/libs -luser
[191]7
[589]8INCLUDES = -I../../giet_libs -I. -I../..
[191]9
[589]10LIB_DEPS = ../../build/libs/libuser.a
[191]11
[589]12appli.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
19clean:
[589]20        rm -f *.o *.elf *.txt core *~
Note: See TracBrowser for help on using the repository browser.