summaryrefslogtreecommitdiff
path: root/Makefile
blob: 28c469f4aee3543faebce5e07990f85817c99080 (plain)
1
2
3
4
5
6
7
8
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