makefile

来自「philips公司ISP1362 USB OTG控制芯片的驱动」· 代码 · 共 39 行

TXT
39
字号

TOPDIR := .
include $(TOPDIR)/Rules.make


ifdef OTGFLAG
SUBDIRS =  hal host device otg appl
else
ifdef HOSTONLY
SUBDIRS = hal host
else
SUBDIRS = hal device
endif
endif

all: subdirs

subdirs:
	for n in $(SUBDIRS); do $(MAKE) -C $$n || exit 1; done

clean:
	rm -f $(TOPDIR)/objs/*.o
	rm -f $(TOPDIR)/objs/msdisk
	rm -f $(TOPDIR)/objs/otgmsapp
	rm -f *.o *~
	for n in $(SUBDIRS); do $(MAKE) -C $$n clean; done

checkthem:
	for n in $(SUBDIRS); do $(MAKE) -C $$n checkthem; done

check:
	for n in $(SUBDIRS); do $(MAKE) -C $$n check; done

objs:
	for n in $(SUBDIRS); do $(MAKE) -C $$n objs; done

install:
	for n in $(SUBDIRS); do $(MAKE) -C $$n install; done

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?