Linux下:
#列出该工程下的所有包含源程序的子目录
SRCDIRS := $(SRCDIRS) \
$(ROOT) \
$(shell find $(ROOT)/drv -maxdepth 3 -type d) \
$(shell find $(ROOT)/lib -maxdepth 3 -type d) \
$(shell find $(ROOT)/sys_op -maxdepth 3 -type d)
Windows下的find没maxdepth也没type啊,怎么玩.
属于Makefile部分/