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)
|
all: $(ELF)
|
||||||
|
|
||||||
|
sub:
|
||||||
|
@-find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} \;
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
ctags -R .
|
ctags -R .
|
||||||
|
|
||||||
|
|
@ -32,5 +35,6 @@ format:
|
||||||
clean:
|
clean:
|
||||||
@echo "Cleaning up..."
|
@echo "Cleaning up..."
|
||||||
@rm -rf $(OBJ) $(ELF) *.json .cache
|
@rm -rf $(OBJ) $(ELF) *.json .cache
|
||||||
|
@find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} clean \;
|
||||||
|
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue