Added libstrophe examples

This commit is contained in:
James Booth
2012-02-03 00:00:15 +00:00
parent 93f3879f44
commit 9f5e8e7d1e
6 changed files with 545 additions and 0 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
CC = gcc
CFLAGS = -O3 -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable
LIBS = -lxml2 -lssl -lresolv -lncurses -lstrophe
profanity: clean
$(CC) profanity.c $(LIBS) -o profanity
$(CC) roster.c $(LIBS) -o roster
$(CC) active.c $(LIBS) -o active
$(CC) basic.c $(LIBS) -o basic
$(CC) bot.c $(LIBS) -o bot
.PHONY: clean
clean:
rm -f profanity
rm -f roster
rm -f active
rm -f basic
rm -f bot