1
2CFLAGS += -I .
3
4ifeq ($(ARCH), __x86_64__)
5kernel_arch_subdirs:=x86_64
6endif
7
8all:
9	@list='$(kernel_arch_subdirs)'; for subdir in $$list; do \
10    		echo "make all in $$subdir";\
11    		cd $$subdir;\
12    		$(MAKE) all CFLAGS="$(CFLAGS)" PIC="$(PIC)";\
13    		cd ..;\
14	done
15
16clean:
17	echo "Done."