Build subdirs with 'make sub'
This commit is contained in:
parent
bed5c13dc8
commit
d1044a94a1
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -20,6 +20,9 @@ ELF := $(SRC:.c=.elf)
|
|||
|
||||
all: $(ELF)
|
||||
|
||||
sub:
|
||||
@-find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} \;
|
||||
|
||||
tags:
|
||||
ctags -R .
|
||||
|
||||
|
|
@ -32,5 +35,6 @@ format:
|
|||
clean:
|
||||
@echo "Cleaning up..."
|
||||
@rm -rf $(OBJ) $(ELF) *.json .cache
|
||||
@find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} clean \;
|
||||
|
||||
.PHONY: format
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue