summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 0c29f7a..bc35e88 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -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