Added contact module

This commit is contained in:
James Booth
2012-05-04 01:00:01 +01:00
parent 30dbbad544
commit 6e46e8fec0
7 changed files with 189 additions and 147 deletions

View File

@@ -7,8 +7,8 @@ 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 prof_history.o \
main.o
TESTOBJS = test_contact_list.o contact_list.o \
contact.o main.o
TESTOBJS = test_contact_list.o contact_list.o contact.o \
test_util.o test_prof_history.o prof_history.o util.o
profanity: $(OBJS)
@@ -24,11 +24,12 @@ profanity.o: log.h windows.h jabber.h command.h
util.o: util.h
command.o: command.h util.h history.h contact_list.h
history.o: history.h prof_history.h
contact_list.o: contact_list.h
contact_list.o: contact_list.h contact.h
prof_history.o: prof_history.h
contact.o: contact.h
main.o: profanity.h
test_contact_list.o: contact_list.h
test_contact_list.o: contact_list.h contact.h
test_util.o: util.h
test_prof_history.o: prof_history.h