diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 698939ec..be25a2aa 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,15 @@ CC = gcc -WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable +WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable \ + -Wno-unused-result LIBS = -lxml2 -lexpat -lssl -lresolv -lncurses -L ~/lib -lstrophe `pkg-config --libs glib-2.0` TESTLIB = -L ~/lib -l headunit CPPLIB = -lstdc++ CFLAGS = -I ~/include -O3 $(WARNS) $(LIBS) `pkg-config --cflags glib-2.0` OBJS = log.o windows.o title_bar.o status_bar.o input_win.o jabber.o \ - profanity.o util.o command.o history.o contact_list.o main.o + profanity.o util.o command.o history.o contact_list.o prof_history.o \ + main.o TESTOBJS = test_history.o history.o test_contact_list.o contact_list.o \ - test_util.o util.o + test_util.o test_prof_history.o prof_history.o util.o profanity: $(OBJS) $(CC) -o profanity $(OBJS) $(LIBS) @@ -23,11 +25,13 @@ util.o: util.h command.o: command.h util.h history.h contact_list.h history.o: history.h contact_list.o: contact_list.h +prof_history.o: prof_history.h main.o: profanity.h test_history.o: history.h test_contact_list.o: contact_list.h test_util.o: util.h +test_prof_history.o: prof_history.h testsuite: testsuite.h $(TESTOBJS) $(CC) $(CFLAGS) $(CPPLIB) testsuite.c $(TESTOBJS) -o testsuite $(TESTLIB) |