📄 makefile
字号:
include ../Make.definesOBJS = main.o cleanup.o pcap.o udpcksum.o senddnsquery-raw.o udpread.o udpwrite.oOBJSNET = main.o cleanup.o pcap.o udpcksum.o senddnsquery-libnet.o udpread.oPROGS = udpcksum udpcksum-libnetall: ${PROGS}udpcksum: ${OBJS} ${CC} ${CFLAGS} -o $@ ${OBJS} -L/usr/local/lib -lpcap ${LIBS}# Include special linking flags from libnet-config programudpcksum-libnet: ${OBJSNET} ${CC} ${CFLAGS} -o $@ ${OBJSNET} -L/usr/local/lib -lpcap ${LIBS} `libnet-config --libs`# Include special compilation flags from libnet-config programsenddnsquery-libnet.o: senddnsquery-libnet.c ${CC} ${CFLAGS} `libnet-config --defines --cflags` -c -o $@ $<clean: rm -f ${PROGS} ${CLEANFILES}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -