summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-12 22:20:39 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-12 22:20:39 +0100
commit820315c76b25471be9d3d609289024014d76506d (patch)
tree4ea569a00452aa6ebfa6be5b1cc9dedda252aea1 /Makefile
parent5a3a07a9e64f4677290062712f9e9a3299061971 (diff)
Change Makefile to not leave separate .o files lying around.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 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