diff options
author | James Booth <boothj5@gmail.com> | 2012-04-30 01:09:42 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-04-30 01:09:42 +0100 |
commit | b6c5fef45eaadce4463ee60e60eb0a0252b61255 (patch) | |
tree | 2ddb6ce1f874413648a7dcd74fb03f7c41ec95da /Makefile | |
parent | c511d7c99f792823fd2727d3a5a1f1fd722b8a33 (diff) | |
download | profani-tty-b6c5fef45eaadce4463ee60e60eb0a0252b61255.tar.gz |
Started work on bash style history
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) |