summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-11 15:01:22 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-11 15:01:22 +0100
commitc46d01b5afd2da4779efb2700469037eca6122be (patch)
tree9db52afe3643c0643414dcf638fa579176b62487 /Makefile
parentd950304536f870ad989e0049e4e8b4a5a72a9315 (diff)
Implement a configuration file reader, an example configuration file, and start reading nick/username/realname from it instead of being statically defined.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 88487ec..3f8d034 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CC=gcc
-DEPS = functions.h sockets.h
+DEPS = functions.h sockets.h config.h
%.o: %.c $(DEPS)
$(CC) -Wall -Wextra -c -o $@ $<
-blabouncer: blabouncer.o functions.o sockets.o
- $(CC) -Wall -Wextra -o blabouncer blabouncer.o functions.o sockets.o
+blabouncer: blabouncer.o functions.o sockets.o config.o
+ $(CC) -Wall -Wextra -o blabouncer blabouncer.o functions.o sockets.o config.o