📄 makefile
字号:
############################### serial Makefile##############################INSTALLROOT=$(PWD)CC=arm-linux-gcc INSTALL=installBIN=/usr/local/binSERVFLAGS= -O2 -DLINUX $(WARNINGS)SERVLIBS= -lpthreadWARNINGS = -Wall \# -Wundef -Wpointer-arith -Wbad-function-cast \# -Wcast-align -Wwrite-strings -Wstrict-prototypes \# -Wmissing-prototypes -Wmissing-declarations \# -Wnested-externs -Winline -Wcast-qual -W \# -Wno-unused# -WunusedOBJSERVER= seri.o #read_seri.o write_seri.o all: serial clean: @echo "Cleaning up directory." rm -f *.a *.o serial core *~ log errlogserial: $(OBJSERVER) $(CC) $(SERVFLAGS) -o serial $(OBJSERVER) $(SERVLIBS) seri.o: seri.c #seri.h $(CC) $(SERVFLAGS) -c -o $@ $< #read_seri.o: read_seri.c # $(CC) $(SERVFLAGS) -c -o $@ $< #write_seri.o: write_seri.c# $(CC) $(SERVFLAGS) -c -o $@ $< #install_servfox: spcafox# $(INSTALL) -s -m 755 -g root -o root servfox $(BIN) install: serial $(INSTALL) -s -m 755 -g root -o root serial $(BIN)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -