Commit lukas' version of Makefile for building inih as a static library (before I tweak it).
diff --git a/extra/Makefile.static b/extra/Makefile.static
new file mode 100644
index 0000000..6ed9fbd
--- /dev/null
+++ b/extra/Makefile.static
@@ -0,0 +1,24 @@
+# 
+# Simple makefile to build inih as static library.
+#
+
+SRC = ../ini.c
+OBJ = $(SRC:.c=.o)
+OUT = libinih.a
+INCLUDES = -I..
+CCFLAGS = -g -O2
+CCC = g++
+LDFLAGS = -g
+
+.SUFFIXES: .cpp
+
+default: $(OUT)
+
+.cpp.o:
+    $(CCC) $(INCLUDES) $(CCFLAGS) $(EXTRACCFLAGS) -c $< -o $@
+
+$(OUT): $(OBJ)
+    ar rcs $(OUT) $(OBJ) $(EXTRAARFLAGS)
+
+clean:
+    rm -f $(OBJ) $(OUT)