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