source:
soft/giet_vm/applications/display/Makefile
@
  734
        
        | Last change on this file since 734 was 708, checked in by , 10 years ago | |
|---|---|
| File size: 505 bytes | |
| Rev | Line | |
|---|---|---|
| [191] | 1 | |
| [708] | 2 | CC = mipsel-unknown-elf-gcc | 
| 3 | AS = mipsel-unknown-elf-as | |
| 4 | LD = mipsel-unknown-elf-ld | |
| 5 | DU = mipsel-unknown-elf-objdump | |
| 6 | AR = mipsel-unknown-elf-ar | |
| 7 | ||
| [589] | 8 | APP_NAME = display | 
| [191] | 9 | |
| [708] | 10 | OBJS= display.o | 
| [191] | 11 | |
| [589] | 12 | LIBS= -L../../build/libs -luser | 
| [191] | 13 | |
| [589] | 14 | INCLUDES = -I../../giet_libs -I. -I../.. | 
| [191] | 15 | |
| [589] | 16 | LIB_DEPS = ../../build/libs/libuser.a | 
| [191] | 17 | |
| [589] | 18 | appli.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 | |
| 25 | clean: | |
| [589] | 26 | rm -f *.o *.elf *.txt core *~ | 
Note: See TracBrowser
        for help on using the repository browser.
    ![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)
