blob: d58a82c340c6ac01a4762e43cb33fac26f343ff2 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001ALL=radius_example
2
3include ../src/build.rules
4
5CFLAGS += -I.
6CFLAGS += -I../src
7CFLAGS += -I../src/utils
8
9LIBS = ../src/radius/libradius.a
10LIBS += ../src/crypto/libcrypto.a
11LIBS += ../src/utils/libutils.a
12LLIBS = -lrt
13
14#CLAGS += -DCONFIG_IPV6
15
16OBJS_ex = radius_example.o
17
18_OBJS_VAR := OBJS_ex
19include ../src/objs.mk
20
21_OBJS_VAR := LIBS
22include ../src/objs.mk
23
24radius_example: $(OBJS_ex) $(LIBS)
25 $(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) $(LLIBS)
26
27clean: common-clean
28 rm -f core *~ *.o *.d