Split out window functions

This commit is contained in:
James Booth
2012-02-05 23:08:15 +00:00
parent 129f0fb0ae
commit 134e5d1701
5 changed files with 71 additions and 55 deletions

View File

@@ -2,12 +2,13 @@ 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
OBJS = log.o windows.o profanity.o
profanity: $(OBJS)
$(CC) -o profanity $(OBJS) $(LIBS)
log.o: log.h
windows.o: windows.h
profanity.o: log.h
.PHONY: clean