From 820315c76b25471be9d3d609289024014d76506d Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 12 Sep 2019 22:20:39 +0100 Subject: Change Makefile to not leave separate .o files lying around. --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3