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

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