summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-09-26 00:37:40 +0200
committerLinus Nordberg <linus@nordu.net>2010-09-26 00:37:40 +0200
commit94e3f46ef6c976f6bbd670555262ec6466314d8a (patch)
tree5fe76cefc2fb868b3f2be8d1b0cd8dfa47fe16ad /lib/examples/Makefile
parentcd66f4d2661093d245a6ffbb35c17d5b5812e9a3 (diff)
Example client crafting simple packet using freeradius-libradius.
Diffstat (limited to 'lib/examples/Makefile')
-rw-r--r--lib/examples/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/examples/Makefile b/lib/examples/Makefile
index abced14..1817d90 100644
--- a/lib/examples/Makefile
+++ b/lib/examples/Makefile
@@ -5,5 +5,8 @@ all: blocking.o
blocking.o: blocking.c blocking.h ../libradsec-base.h ../libradsec.h
$(CC) $(CFLAGS) -c -I .. $^
+client: client.c ../radsec.o ../libradsec.h ../debug.h
+ $(CC) $(CFLAGS) -o $@ -L /usr/lib/freeradius -lfreeradius-radius $^
+
clean:
-rm *.o