summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--TODO4
2 files changed, 4 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 28c469f..dee20c7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,4 @@
CC=gcc
-DEPS = functions.h sockets.h config.h replay.h logging.h structures.h message.h
-%.o: %.c $(DEPS)
- $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -c -o $@ $<
-
-blabouncer: blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o
- $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o
+blabouncer: blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c
+ $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c
diff --git a/TODO b/TODO
index 7a0223c..8c8e18c 100644
--- a/TODO
+++ b/TODO
@@ -10,6 +10,6 @@ Ensure replayed lines don't exceed IRC message maximum length due to inserted ti
Is there a way to log nick changes to the normal log despite not tracking nicks in each channel? (We do track channel names themselves.)
-Change Makefile to not leave separate .o files lying around.
-
Doesn't compile on old GCC - maybe set -std=gnu99.
+
+Log QUIT messages in channels if the quitting user was in them - requires tracking users in channels.