📄 makefile
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -