diff --git a/examples/Makefile b/examples/Makefile
index fc0939bdfaf6d090ddc60e80d61a73fda8a4b40c..bf650efcde6cfad64153987c2aeb4b541644a54b 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -6,7 +6,7 @@
 CFLAGS = -W -Wall -I.. -pthread -g -pipe $(CFLAGS_EXTRA)
 RM = rm -rf
 OUT = -o $@
-ALL_PROGS = server post auth
+ALL_PROGS = server post
 NS = ../../net_skeleton
 SW = ../../ssl_wrapper
 
diff --git a/examples/digest_authentication/Makefile b/examples/digest_authentication/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..e666b6a0b4d623e2191532355124c639eadf7583
--- /dev/null
+++ b/examples/digest_authentication/Makefile
@@ -0,0 +1,12 @@
+# Copyright (c) 2014 Cesanta Software
+# All rights reserved
+
+PROG = digest_auth
+CFLAGS = -W -Wall -I../.. -g -O0 $(CFLAGS_EXTRA)
+SOURCES = $(PROG).c ../../mongoose.c
+
+$(PROG): $(SOURCES)
+	$(CC) -o $(PROG) $(SOURCES) $(CFLAGS)
+
+clean:
+	rm -rf $(PROG) *.exe *.dSYM *.obj *.exp .*o *.lib
diff --git a/examples/auth.c b/examples/digest_authentication/digest_auth.c
similarity index 100%
rename from examples/auth.c
rename to examples/digest_authentication/digest_auth.c