summaryrefslogtreecommitdiff
path: root/lib/examples/Makefile
blob: cf3441b5bcc0a11824cc0151bcb33bd2e5794466 (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 $@ $< -lconfuse -L /usr/lib/freeradius -lfreeradius-radius -L .. -lradsec -L /usr/local/lib -levent_core

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