summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
blob: 4a0ab8fe48fa989d551b72d1374043398cf4e551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SPECIAL = # -DUSE_REQUEST_OBJECT

CFLAGS = -Wall -g -I ../include $(SPECIAL)

HFILES = ../include/radsec/radsec.h ../include/radsec/radsec-impl.h

all: client-blocking

client-blocking: client-blocking.c ../libradsec.a $(HFILES)
	$(CC) $(CFLAGS) -o $@ $< -L /usr/lib/freeradius -lfreeradius-radius -L .. -lradsec -L /usr/local/lib -levent_core

clean:
	-rm *.o *.gch client-blocking