summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-08-15 18:07:02 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2009-08-15 18:07:02 +0200
commit3efd96ff79f4f5669c3422a1f592f09176c77121 (patch)
tree0efd426765206625fdbf64e4c9cab4cce83010da /Makefile
parent62b45cb26d7868b21ba4b854d2d3b8befeee9327 (diff)
Added a hash table to keep track of words.
Moved the sdbm hash function into sdbm.c. Init and free users and words inside the channel loop. Increased the size of the user hash table to 1000.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 680b520..f3e182f 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CFLAGS += $(shell pkg-config --cflags libconfig)
CFLAGS += $(shell pcre-config --cflags)
LDFLAGS += $(shell pkg-config --libs libconfig)
LDFLAGS += $(shell pcre-config --libs)
-OBJECTS = main.o config.o regexset.o channel.o user.o
+OBJECTS = main.o config.o regexset.o channel.o user.o word.o sdbm.o
TARGET = ircstats
all: $(TARGET)