makefile
来自「An example of TCP/IP stuff on msp430, ta」· 代码 · 共 32 行
TXT
32 行
TARGET_MCU=msp430x149OBJECTS=easyweb.o \ tcpip.o \ cs8900.oCC=msp430-gccCFLAGS= -c -g -O2 -mmcu=$(TARGET_MCU)all: easywebclean: -rm -f easyweb $(OBJECTS)easyweb: $(OBJECTS) $(CC) -mmcu=$(TARGET_MCU) -oeasyweb $(OBJECTS) #automatic collection of dependencies in the source files.#it's only updated the first time, after that it must be done maually#with "make depend"#the dependecies are included from a separate file:-include dependencies.in#target to update the file, it's removed firstdepend: rmdepend dependencies.in#remove the filermdepend: rm -f dependencies.in#build the file that contains the dependencies. no deps in this rule.#if there were deps it would be rebuilt every chnage, which is unneded:dependencies.in: $(CC) -MM ${CFLAGS} $(OBJECTS:.o=.c) >$@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?