summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
blob: e07a32bef79f8dbfb86bbd4c3df363b60d5dc8f1 (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 ../libradsec.a ../libradsec.h ../libradsec-impl.h
	$(CC) $(CFLAGS) -o $@ -L /usr/lib/freeradius -lfreeradius-radius $^

clean:
	-rm *.o