mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
18 lines
351 B
Makefile
18 lines
351 B
Makefile
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
|