From 2d880c4f5cecbeba1dfd76ee860f1007bb60e182 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Thu, 9 Oct 2014 09:42:07 +0100
Subject: [PATCH] Moved auth.c to separate dir

---
 examples/Makefile                                    |  2 +-
 examples/digest_authentication/Makefile              | 12 ++++++++++++
 .../{auth.c => digest_authentication/digest_auth.c}  |  0
 3 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 examples/digest_authentication/Makefile
 rename examples/{auth.c => digest_authentication/digest_auth.c} (100%)

diff --git a/examples/Makefile b/examples/Makefile
index fc0939bdf..bf650efcd 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 000000000..e666b6a0b
--- /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
-- 
GitLab