From afdbb22838d7528b70924232814cb84e25890d83 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 5 Feb 2011 09:31:48 -0800 Subject: Adding automatic dependency tree building. --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 800541a..4c3e49b 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ clean: clean-generic $(Q)$(MAKE) $(MAKE_OPTS) -C tools clean $(Q)rm -f test-romfs.bin -.PHONY: libs FreeRTOS arch os libc tools +.PHONY: libs FreeRTOS arch os libc tools deps FreeRTOS/libFreeRTOS.a: FreeRTOS arch/libarch.a: arch @@ -53,6 +53,16 @@ test-romfs.o: tools/mkromfs $(Q) $(TARGET_OBJCOPY_BIN) --prefix-sections '.romfs' test-romfs.bin test-romfs.o $(Q)$(MAKE) $(MAKE_OPTS) -C tools +deps: ldeps + $(E) "[DEPS] Creating dependency tree for FreeRTOS" + $(Q)$(MAKE) $(MAKE_OPTS) -C FreeRTOS ldeps + $(E) "[DEPS] Creating dependency tree for arch" + $(Q)$(MAKE) $(MAKE_OPTS) -C arch ldeps + $(E) "[DEPS] Creating dependency tree for os" + $(Q)$(MAKE) $(MAKE_OPTS) -C os ldeps + $(E) "[DEPS] Creating dependency tree for libc" + $(Q)$(MAKE) $(MAKE_OPTS) -C libc ldeps + include FreeRTOS/config.mk include arch/config.mk include os/config.mk -- cgit v1.2.3