xref: /DragonOS/user/apps/Makefile (revision 01c18c64b14b4ebabd98fa92c587c26874275eb1)
1sub_dirs = $(wildcard */)
2
3.PHONY: clean
4clean:
5	@list='$(sub_dirs)'; for subdir in $$list; do \
6		$(MAKE) -C $$subdir clean;\
7	done
8
9.PHONY: fmt
10fmt:
11	@list='$(sub_dirs)'; for subdir in $$list; do \
12		FMT_CHECK=$(FMT_CHECK) $(MAKE) -C $$subdir fmt;\
13	done
14