Have you tried to put another pastsub
into the %.o: %.c
command:
Something like this:
%.o: %.c arm-none-eabi-gcc $(CFLAGS) $(INCDIRS) -MMD -MP -MF"$(patsubst %.c,$(OBJSDIR)/%.d,@)" -MT"$@" -c -o "$@""$<"
Have you tried to put another pastsub
into the %.o: %.c
command:
Something like this:
%.o: %.c arm-none-eabi-gcc $(CFLAGS) $(INCDIRS) -MMD -MP -MF"$(patsubst %.c,$(OBJSDIR)/%.d,@)" -MT"$@" -c -o "$@""$<"