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

Last change on this file since 778 was 708, checked in by alain, 9 years ago

Adapt the following application to the POSIX threads API

  • convol
  • classif
  • raycast
  • coproc
  • display
  • gameoflife
  • transpose
  • shell
File size: 505 bytes
RevLine 
[191]1
[708]2CC = mipsel-unknown-elf-gcc
3AS = mipsel-unknown-elf-as
4LD = mipsel-unknown-elf-ld
5DU = mipsel-unknown-elf-objdump
6AR = mipsel-unknown-elf-ar
7
[589]8APP_NAME = display
[191]9
[708]10OBJS= display.o
[191]11
[589]12LIBS= -L../../build/libs -luser
[191]13
[589]14INCLUDES = -I../../giet_libs -I. -I../..
[191]15
[589]16LIB_DEPS = ../../build/libs/libuser.a
[191]17
[589]18appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) 
19        $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS)
20        $(DU) -D $@ > $@.txt
21
[191]22%.o: %.c
[589]23        $(CC)  $(INCLUDES) $(CFLAGS) -c -o  $@ $<
[191]24
25clean:
[589]26        rm -f *.o *.elf *.txt core *~
Note: See TracBrowser for help on using the repository browser.