Browse Source

fix up the dep generation to include the new files..

irr_shared
John-Mark Gurney 3 years ago
parent
commit
8bb1db837c
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      Makefile

+ 3
- 1
Makefile View File

@@ -153,7 +153,7 @@ rng_save.c: Makefile
echo '};' \
) > $@ || (rm $@ && false)

.arm_deps: $(SRCS)
.arm_deps:
$(ARMCC) $(ARMTARGET) $(CFLAGS) $(.ALLSRC) -MM > $@ || (rm -f $@ && false)

.test_deps: $(LIBLORA_TEST_SRCS)
@@ -164,6 +164,8 @@ ALLTGTS+= $(i)$(PROGEXT) $(i).list
ASRCS.$(i) = $(SRCS) $(SRCS.$(i))
OBJS.$(i) = $(ASRCS.$(i):C/.c$/.o/)

.arm_deps: $(ASRCS.$(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



Loading…
Cancel
Save