summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
diff options
context:
space:
mode:
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