Handle ampersand

Replaced with & in messages
This commit is contained in:
James Booth
2012-04-19 22:26:12 +01:00
parent 9805b2b2b2
commit 366eecc195
7 changed files with 118 additions and 3 deletions

View File

@@ -6,7 +6,8 @@ CPPLIB = -lstdc++
CFLAGS = -I ~/include -O3 $(WARNS) $(LIBS)
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
TESTOBJS = test_history.o history.o test_contact_list.o contact_list.o
TESTOBJS = test_history.o history.o test_contact_list.o contact_list.o \
test_util.o util.o
profanity: $(OBJS)
$(CC) -o profanity $(OBJS) $(LIBS)
@@ -26,6 +27,7 @@ main.o: profanity.h
test_history.o: history.h
test_contact_list.o: contact_list.h
test_util.o: util.h
testsuite: testsuite.h $(TESTOBJS)
$(CC) $(CFLAGS) $(CPPLIB) testsuite.c $(TESTOBJS) -o testsuite $(TESTLIB)