* initial commit of version 1.0.0
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7aef9fe
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+CC = gcc
+LD = gcc
+
+COPTS = -O2 -g -DSTATTIME=0
+LIBS =
+
+# to compile under solaris, uncomment these two lines
+#COPTS = -O2 -fomit-frame-pointer -DSOLARIS
+#LIBS = -lnsl -lsocket
+
+CFLAGS = -Wall $(COPTS)
+LDFLAGS = -g
+
+all: haproxy
+
+haproxy: haproxy.o
+	$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+%.o:	%.c
+	$(CC) $(CFLAGS) -c -o $@ $<
+
+clean:
+	rm -vf *.[oas] *~ core haproxy test nohup.out gmon.out