xref: /DragonOS/Makefile (revision 36ad7a106eef6ef6bc3d9d26edbb57e73fbfb05e)
1SUBDIRS = kernel
2
3.PHONY: all
4all:
5	mkdir -p bin/kernel/
6	@list='$(SUBDIRS)'; for subdir in $$list; do \
7    		echo "make all in $$subdir";\
8    		cd $$subdir;\
9    		make all;\
10    		cd ..;\
11    done
12
13.PHONY: clean
14clean:
15	@list='$(SUBDIRS)'; for subdir in $$list; do \
16		echo "Clean in dir: $$subdir";\
17		cd $$subdir && make clean;\
18		cd .. ;\
19	done