diff options
author | Luke Howard <lukeh@padl.com> | 2011-11-13 16:16:05 +1100 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2011-11-13 16:16:05 +1100 |
commit | 7ec93ff9e4d979e4bbcf33f9c90c94dc9d3cdba9 (patch) | |
tree | f10529f4e308bd082dcc348487d53bb50b3cbd87 /lib/radius/tests/Makefile | |
parent | ceecc52da787a7a2e495d913cbaa7dbe1d7830fb (diff) |
add new RADIUS client library
Diffstat (limited to 'lib/radius/tests/Makefile')
-rw-r--r-- | lib/radius/tests/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/radius/tests/Makefile b/lib/radius/tests/Makefile new file mode 100644 index 0000000..b9d74ad --- /dev/null +++ b/lib/radius/tests/Makefile @@ -0,0 +1,25 @@ +# +# GNU Makefile +# +.PHONY: all clean +all: radattr + +HEADERS := ../client.h ../radius.h +CFLAGS := -g + +%.o : %.c + $(CC) $(CFLAGS) -I.. -I. -c $< + +%.o: ${HEADERS} + +LIBS := -lcrypto -lssl +LDFLAGS = -L.. -lnetworkradius-client + +../libnetworkradius-client.a: + @${MAKE} -C .. libnetworkradius-client.a + +radattr: radattr.o ../libnetworkradius-client.a + ${CC} ${LFDLAGS} ${LIBS} -o $@ $^ + +clean: + @rm -rf *.o *.a *~ |