1 CFLAGS = -g -Wall -fPIC --std=c99
2 CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H
6 #awk -f rhawk < testirc.txt
7 #awk -f rhawk < testirc.txt
8 awk -f test.awk spades.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/ '
15 test-select:Q: select.so
19 gcc $CFLAGS -shared -o $target $prereq $LDFLAGS
22 gcc $CPPFLAGS $CFLAGS -c -o $target $prereq