📄 makefile
字号:
CFLAGS = -g -Wallobjects = ipmsg.o userlist.o utils.o udp_comm.o msglist.o encode.o staff.oipmsg: $(objects) gcc $(CFLAGS) -o ipmsg $(objects) -lpthreadipmsg.o: ipmsg.c msglist.h userlist.h staff.h ipmsg.h udp_comm.h gcc $(CFLAGS) -c $^ userlist.o: userlist.c userlist.h utils.h gcc $(CFLAGS) -c $^utils.o: utils.c utils.h gcc $(CFLAGS) -c $^udp_comm.o: udp_comm.c udp_comm.h gcc $(CFLAGS) -c $^msglist.o: msglist.c ipmsg.h msglist.h encode.h gcc $(CFLAGS) -c $^encode.o: encode.c encode.h gcc $(CFLAGS) -c $^staff.o:staff.c staff.h msglist.h utils.h.PHONY: cleanclean: rm -f ipmsg $(objects) *.gchcgch: rm -f *.gch
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -