📄 makefile
字号:
# Welcome!# softswitch program allows a computer work as a Switch.# This is makefile.#Compiler CC=gcc#Option compile on command line for developed product CFLAGS=-g#Option compile on command line for finished product #CFLAGS=-O -Wall -ansisoftswitch: softswitch.o count_nic.o get_mac.o $(CC) -o softswitch softswitch.o count_nic.o get_mac.o -lpcap -lnet -lpthreadsoftswitch.o: softswitch.c getmac_struct.h ethernet.h $(CC) -c softswitch.ccount_nic.o: count_nic.c $(CC) -c count_nic.cget_mac.o: get_mac.c getmac_struct.h $(CC) -c get_mac.c#Delete file .oclean: rm -f *.o *.h~ *.c~ makefile~
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -