makefile

来自「802.1x 源码,基于linux平台开发」· 代码 · 共 32 行

TXT
32
字号
CC=xscale_be-gcc
#CC=gcc

ifndef CFLAGS
CFLAGS = -O2 -Wall -g
endif

# If you want to support multiple radius server for multiple bssid, add following line
#CFLAGS +=  -DMULTIPLE_RADIUS

# If you want to debug daemon, add following line
#CFLAGS +=  -DDBG

OBJS =	rt61apd.o eloop.o eapol_sm.o radius.o md5.o  \
	config.o ieee802_1x.o  \
	sta_info.o   radius_client.o mac2port.o

CLIENTOBJS = dot1x_init.o

all: rt61apd dot1x_init.a

rt61apd: $(OBJS)
	$(CC) -o 8021x $(OBJS)

dot1x_init.a: $(CLIENTOBJS)
	$(AR) rv $@ $?
	
clean:
	rm -f core *~ *.o dot1xd *.d *.a

-include $(OBJS:%.o=%.d)

⌨️ 快捷键说明

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