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