WIP on libradsec: 94e3f46 Example client crafting simple packet using freeradius...
[radsecproxy.git] / lib / Makefile
index 0c29f7a..bc35e88 100644 (file)
@@ -1,11 +1,15 @@
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -DDEBUG
+OFILES = radsec.o err.o packet.o attr.o
 
-all: base.o
+all: libradsec.a
 
 base.o: base.c libradsec-base.h libradsec.h ../tlv11.h
 
+libradsec.a: $(OFILES)
+       ar rc $@ $^
+
 doc:
        doxygen
 
 clean:
-       -rm *.o
+       -rm *.o *.a