Some little refactoration
Some little refactoration

file:a/.gitignore -> file:b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 *.o
 src/a.out
+bin/tnc
 *.swp
 

file:b/Makefile (new)
--- /dev/null
+++ b/Makefile
@@ -1,1 +1,11 @@
+CC=clang
+#That's the crappiest makefile in the world, don't you think ? :P
+all:
+	$(CC) -Wall -D_GNU_SOURCE src/*.c -o bin/tnc
 
+debug:
+	$(CC) -g3 -Wall -Wextra -D_GNU_SOURCE src/*.c -o bin/tnc
+
+clean:
+	rm a.out
+

file:a/README -> file:b/README
--- a/README
+++ b/README
@@ -1,3 +1,21 @@
  telnetChat(1)
  A simple multi-users via telnet written in C
 
+
+=== How to use ?
+
+	To use, first compile the program typing:
+		$ make
+	Then you can launch-it typing:
+		$ ./bin/tnc
+
+	By default, the port used is 4242. Using a telnet client (like nc), you
+	just have to type:
+		$ nc IP 4242
+	In local, you could type:
+		$ nc 127.0.0.1 4242
+	But if the machine as a public IP (or IPv6, 'cos TNC supports IPv6 !),
+	you can access the chat via the machine's public IP (v4 or v6: it's dual
+	stack).
+
+

file:b/bin/tnc.conf (new)
--- /dev/null
+++ b/bin/tnc.conf
@@ -1,1 +1,6 @@
+#This is a commentary
 
+users-file=./passwd
+allow-registering=YES
+default-color=YES
+

file:b/doc/tnc.conf (new)
--- /dev/null
+++ b/doc/tnc.conf
@@ -1,1 +1,6 @@
+#This is a commentary
 
+users-file=./passwd
+allow-registering=YES
+default-color=YES
+

file:a/src/Makefile (deleted)
--- a/src/Makefile
+++ /dev/null
@@ -1,8 +1,1 @@
-CC=clang
-#That's the crappiest makefile in the world, don't you think ? :P
-all:
-	$(CC) -g3 -Wall -Wextra -D_GNU_SOURCE *.c
 
-clean:
-	rm a.out
-

file:a/src/passwd (deleted)
--- a/src/passwd
+++ /dev/null
@@ -1,4 +1,1 @@
-foo	bar
-toto	blahblah
-tata	yop
 

file:a/src/tnc.conf (deleted)
--- a/src/tnc.conf
+++ /dev/null
@@ -1,6 +1,1 @@
-#This is a commentary
 
-users-file=./passwd
-allow-registering=YES
-default-color=YES
-