add Makefile, cleanup for -std=c99
[l2tpns.git] / test / Makefile
diff --git a/test/Makefile b/test/Makefile
new file mode 100644 (file)
index 0000000..ae9b79f
--- /dev/null
@@ -0,0 +1,11 @@
+CFLAGS = -g -Wall -W -std=c99 -pedantic
+TARGETS = bounce generateload radius
+
+all: $(TARGETS)
+clean:
+       rm -f $(TARGETS)
+
+../md5.o: ../md5.c ../md5.h
+       $(MAKE) -C .. md5.o
+
+radius: radius.c ../md5.o