summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-09-28 22:27:04 +0200
committerLinus Nordberg <linus@nordu.net>2010-09-28 22:27:04 +0200
commite981fbcf3909fbaba462c7b578f29fa67b3bc74b (patch)
treef67203b602b71600020e95ff6805d6aa71331237 /lib/examples/Makefile
parent07fa3839c8bddd1ad91f86243dd582c0359ba3e1 (diff)
WIP.
Diffstat (limited to 'lib/examples/Makefile')
-rw-r--r--lib/examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/examples/Makefile b/lib/examples/Makefile
index e07a32b..ceb97f1 100644
--- a/lib/examples/Makefile
+++ b/lib/examples/Makefile
@@ -1,12 +1,12 @@
CFLAGS = -Wall -g
-all: blocking.o
+all: client
blocking.o: blocking.c blocking.h ../libradsec-base.h ../libradsec.h
$(CC) $(CFLAGS) -c -I .. $^
client: client.c ../libradsec.a ../libradsec.h ../libradsec-impl.h
- $(CC) $(CFLAGS) -o $@ -L /usr/lib/freeradius -lfreeradius-radius $^
+ $(CC) $(CFLAGS) -o $@ $< -L /usr/lib/freeradius -lfreeradius-radius -L .. -lradsec
clean:
-rm *.o