nl80211: Fix a typo
[hostap-gosc2009.git] / radius_example / Makefile
blob92e992c82a43de8c7777636bb31e10aecf8217e7
1 ALL=radius_example
3 all: $(ALL)
5 ifndef CC
6 CC=gcc
7 endif
9 ifndef LDO
10 LDO=$(CC)
11 endif
13 ifndef CFLAGS
14 CFLAGS = -MMD -O2 -Wall -g
15 endif
17 CFLAGS += -I.
18 CFLAGS += -I../src
19 CFLAGS += -I../src/utils
21 LIBS = ../src/radius/libradius.a
22 LIBS += ../src/crypto/libcrypto.a
23 LIBS += ../src/utils/libutils.a
25 ../src/utils/libutils.a:
26 $(MAKE) -C ../src/utils
28 ../src/crypto/libcrypto.a:
29 $(MAKE) -C ../src/crypto
31 ../src/radius/libradius.a:
32 $(MAKE) -C ../src/radius
34 #CLAGS += -DCONFIG_IPV6
36 OBJS_ex = radius_example.o
38 radius_example: $(OBJS_ex) $(LIBS)
39 $(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS)
41 clean:
42 $(MAKE) -C ../src clean
43 rm -f core *~ *.o *.d $(ALL)
45 -include $(OBJS:%.o=%.d)