⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 在网络中,有时候会想检查自己电脑的端口的状态,这是端口扫描器的C语言源代码,
💻
字号:
SHELL	= /bin/sh#BIN	= ../../binBIN	= .TCP_SRC	= tcp_scan.c find_addr.c mallocs.c non_blocking.c \		print_data.c open_limit.c error.c strerror.cTCP_OBJ	= tcp_scan.o find_addr.o mallocs.o non_blocking.o \		print_data.o open_limit.o error.o strerror.oUDP_SRC	= udp_scan.c find_addr.c mallocs.c open_limit.c error.c ring.c \		strerror.cUDP_OBJ	= udp_scan.o find_addr.o mallocs.o open_limit.o error.o ring.o \		strerror.oCFLAGS	= -O $(XFLAGS)FILES	= README tcp_scan.1 error.c find_addr.c lib.h makefile mallocs.c \	non_blocking.c open_limit.c print_data.c tcp_scan.c udp_scan.c ring.c \	strerror.oPROGS	= $(BIN)/tcp_scan $(BIN)/udp_scan#LIBS	= -lsocket -lnslall: $(PROGS)$(BIN)/tcp_scan: $(TCP_OBJ)	$(CC) $(CFLAGS) -o $@ $(TCP_OBJ) $(LIBS)$(BIN)/udp_scan: $(UDP_OBJ)	$(CC) $(CFLAGS) -o $@ $(UDP_OBJ) $(LIBS)shar:	@shar $(FILES)lint:	lint $(TCP_SRC)	lint $(UDP_SRC)clean:	rm -f *.o $(PROGS) core

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -