diff options
author | Pixel <pixel@nobis-crew.org> | 2011-02-05 09:31:48 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-02-05 09:34:55 -0800 |
commit | afdbb22838d7528b70924232814cb84e25890d83 (patch) | |
tree | 2f8b734839f23ac9b7592d62fcf527758449714b /Makefile | |
parent | 0044f9480cfa8d5cf0a3d84e84be25e32b588726 (diff) |
Adding automatic dependency tree building.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |