Organize source tree
authorChip Black <bytex64@bytex64.net>
Tue, 28 Dec 2010 04:16:09 +0000 (22:16 -0600)
committerChip Black <bytex64@bytex64.net>
Tue, 28 Dec 2010 04:16:09 +0000 (22:16 -0600)
Makefile
database/database.c [moved from database.c with 100% similarity]
database/database.h [moved from database.h with 100% similarity]
database/tags.c [moved from tags.c with 100% similarity]
database/tags.h [moved from tags.h with 100% similarity]
http/canned_responses.c [moved from canned_responses.c with 100% similarity]
http/canned_responses.h [moved from canned_responses.h with 100% similarity]
http/http_blerg.c [moved from http_blerg.c with 100% similarity]
misc/auth.c [moved from auth.c with 100% similarity]
misc/auth.h [moved from auth.h with 100% similarity]
tools/blergtool.c [moved from blergtool.c with 100% similarity]

index 137844b..e804abe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
 CFLAGS ?= -g
-INCLUDES = -Ilibmicrohttpd-0.9.3/src/include -Iyajl/build/yajl-1.0.11/include
+INCLUDES = -I. -Idatabase -Imisc -Ilibmicrohttpd-0.9.3/src/include -Iyajl/build/yajl-1.0.11/include
 LDFLAGS ?=
 LIBDIRS = -Llibmicrohttpd-0.9.3/src/daemon/.libs -Lyajl/build/yajl-1.0.11/lib
 
 targets = blerg.a blergtool http_blerg
-blerg_a_objects = database.o tags.o
-blergtool_objects = blergtool.o blerg.a
-http_blerg_objects = http_blerg.o canned_responses.o auth.o blerg.a
+blerg_a_objects = database/database.o database/tags.o
+blergtool_objects = tools/blergtool.o blerg.a
+http_blerg_objects = http/http_blerg.o http/canned_responses.o misc/auth.o blerg.a
 
 all: $(targets)
 
similarity index 100%
rename from database.c
rename to database/database.c
similarity index 100%
rename from database.h
rename to database/database.h
similarity index 100%
rename from tags.c
rename to database/tags.c
similarity index 100%
rename from tags.h
rename to database/tags.h
similarity index 100%
rename from canned_responses.c
rename to http/canned_responses.c
similarity index 100%
rename from canned_responses.h
rename to http/canned_responses.h
similarity index 100%
rename from http_blerg.c
rename to http/http_blerg.c
similarity index 100%
rename from auth.c
rename to misc/auth.c
similarity index 100%
rename from auth.h
rename to misc/auth.h
similarity index 100%
rename from blergtool.c
rename to tools/blergtool.c