]> Pileus Git - ~andy/rhawk/blob - mkfile
Fix color loading
[~andy/rhawk] / mkfile
1 CFLAGS   = -g -Wall -fPIC --std=c99
2 CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H
3
4 test:Q:
5         rm -f var/sp_cur.json
6         #awk -f rhawk < testirc.txt
7         #awk -f rhawk < testirc.txt
8         awk -f test.awk test.txt \
9         | awk '-vDEBUG=1' -frhawk 2>&1 1>/dev/null \
10         | grep -v '^  > \(USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\)' \
11         | grep -v '^  . .*\(ACCOUNT\|IDENTIFY\|unicode\|colors\)' \
12         | sed  -e 's/^  > PRIVMSG #\w* :/rhawk:\t/' \
13                -e 's/^  < :\([^!]*\)![^ ]* PRIVMSG #\w* :/\1:\t/ '
14
15 test-select:Q: select.so
16         #awk -f select.awk
17
18 %.so: %.o
19         gcc $CFLAGS -shared -o $target $prereq $LDFLAGS
20
21 %.o: %.c
22         gcc $CPPFLAGS $CFLAGS -c -o $target $prereq