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

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 -L .. -lradsec

clean:
	-rm *.o