summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
blob: 1817d906da03917b17785ccf84b7e3c4a903ec4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CFLAGS = -Wall -g

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