diff options
Diffstat (limited to 'VexRiscvSocSoftware/resources/recursive.mk')
-rw-r--r-- | VexRiscvSocSoftware/resources/recursive.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/VexRiscvSocSoftware/resources/recursive.mk b/VexRiscvSocSoftware/resources/recursive.mk new file mode 100644 index 0000000..0be9991 --- /dev/null +++ b/VexRiscvSocSoftware/resources/recursive.mk @@ -0,0 +1,13 @@ +SUBDIRS := $(wildcard */.) + +all: + for dir in $(SUBDIRS); do \ + (cd $$dir; ${MAKE} all); \ + done + +clean: + for dir in $(SUBDIRS); do \ + (cd $$dir; ${MAKE} clean); \ + done + +.PHONY: all $(SUBDIRS)
\ No newline at end of file |