about summary refs log tree commit diff stats
path: root/Makefile
blob: 59b5879b7a1018cddddb003ac65c7e7158a92218 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable
LIBS = -lxml2 -lssl -lresolv -lncurses -lstrophe
CFLAGS = -O3 $(WARNS) $(LIBS)
OBJS = log.o profanity.o

profanity: $(OBJS)
	$(CC) -o profanity $(OBJS) $(LIBS)

log.o: log.h
profanity.o: log.h

.PHONY: clean
clean:
	rm -f profanity
	rm -f profanity.log
	rm *.o