Changeset 589 for soft/giet_vm/applications/display/Makefile
- Timestamp:
- Jul 8, 2015, 3:57:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/display/Makefile
r191 r589 1 APP_NAME=display2 1 3 USE+= stdio.o 4 5 USES=$(patsubst %,$(BUILD_PATH)/$(LIB_NAME)/%,$(USE)) 2 APP_NAME = display 6 3 7 4 OBJS= main.o 8 5 9 all: $(APP_NAME).elf 6 LIBS= -L../../build/libs -luser 10 7 11 BIN_NAME_PATH=$(BUILD_PATH)$(APP_NAME).elf 8 INCLUDES = -I../../giet_libs -I. -I../.. 12 9 13 $(APP_NAME).elf: $(OBJS) $(APP_NAME).ld 14 $(LD) -o $(BIN_NAME_PATH) -T $(APP_NAME).ld $(OBJS) $(USES) 15 $(DU) -D $(BIN_NAME_PATH) > $@.txt 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 16 15 17 16 %.o: %.c 18 $(CC) $(INCLUDE) $(CFLAGS) $($*.o_CFLAGS) -c -o $@ $< 19 $(DU) -D $@ > $@.txt 20 17 $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< 21 18 22 19 clean: 23 rm -f *.o *.elf *.txt core *~ 2>$(TRASH) 24 rm $(BIN_NAME_PATH) 2>$(TRASH) 20 rm -f *.o *.elf *.txt core *~
Note: See TracChangeset
for help on using the changeset viewer.