|
@@ -6,8 +6,16 @@ ALLTGTS+= $(i)$(PROGEXT) $(i).list |
|
|
ASRCS.$(i) = $(SRCS) $(SRCS.$(i)) |
|
|
ASRCS.$(i) = $(SRCS) $(SRCS.$(i)) |
|
|
OBJS.$(i) = $(ASRCS.$(i):C/.c$/.o/) |
|
|
OBJS.$(i) = $(ASRCS.$(i):C/.c$/.o/) |
|
|
|
|
|
|
|
|
|
|
|
DEPENDS += .arm_deps |
|
|
|
|
|
|
|
|
.arm_deps: $(ASRCS.$(i)) |
|
|
.arm_deps: $(ASRCS.$(i)) |
|
|
|
|
|
|
|
|
|
|
|
.PHONY: depend |
|
|
|
|
|
depend: $(DEPENDS) |
|
|
|
|
|
|
|
|
|
|
|
.for i in $(DEPENDS) |
|
|
|
|
|
.sinclude "$i" |
|
|
|
|
|
.endfor |
|
|
$(i)$(PROGEXT) $(i).map: $(OBJS.$(i)) |
|
|
$(i)$(PROGEXT) $(i).map: $(OBJS.$(i)) |
|
|
$(ARMCC) $(ARMTARGET) -o $(i)$(PROGEXT) $(.ALLSRC) -T$(LINKER_SCRIPT) --specs=nosys.specs -Wl,-Map="$(i).map" -Wl,--gc-sections -static --specs=nano.specs -Wl,--start-group -lc -lm -Wl,--end-group |
|
|
$(ARMCC) $(ARMTARGET) -o $(i)$(PROGEXT) $(.ALLSRC) -T$(LINKER_SCRIPT) --specs=nosys.specs -Wl,-Map="$(i).map" -Wl,--gc-sections -static --specs=nano.specs -Wl,--start-group -lc -lm -Wl,--end-group |
|
|
|
|
|
|
|
|