makefile

来自「ARM9系列,s3c2410实验代码」· 代码 · 共 16 行

TXT
16
字号
SUBDIR = dip4

TARGET = $(SUBDIR).a 
OBJS = $(SUBDIR)_driver.o $(SUBDIR)_api.o

DEBUG_DIR = ..\..\debug

O_TARGET = $(DEBUG_DIR)\$(TARGET)
O_OBJS = $(DEBUG_DIR)\$(SUBDIR)_driver.o  $(DEBUG_DIR)\$(SUBDIR)_api.o 
	
# this include file must be at the first position above any other rules
include ..\Rules.make

$(DEBUG_DIR)\$(SUBDIR)_api.o:		$(SUBDIR)_api.h	
$(SUBDIR)_api.h:			$(SUBDIR)_driver.h	
$(DEBUG_DIR)\$(SUBDIR)_driver.o:	$(SUBDIR)_driver.h	

⌨️ 快捷键说明

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