aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example/Makefile
blob: d58a82c340c6ac01a4762e43cb33fac26f343ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ALL=radius_example

include ../src/build.rules

CFLAGS += -I.
CFLAGS += -I../src
CFLAGS += -I../src/utils

LIBS = ../src/radius/libradius.a
LIBS += ../src/crypto/libcrypto.a
LIBS += ../src/utils/libutils.a
LLIBS = -lrt

#CLAGS += -DCONFIG_IPV6

OBJS_ex = radius_example.o

_OBJS_VAR := OBJS_ex
include ../src/objs.mk

_OBJS_VAR := LIBS
include ../src/objs.mk

radius_example: $(OBJS_ex) $(LIBS)
	$(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) $(LLIBS)

clean: common-clean
	rm -f core *~ *.o *.d