Quantcast
Channel: more advanced makefile (part 2) - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Jonatan Goebel for more advanced makefile (part 2)

$
0
0

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 "$@""$<"

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>