1 CFLAGS = -g -Wall -fPIC --std=c99
3 CPPFLAGS = -I/usr/include/awk \
14 #awk -f rhawk < testirc.txt
15 #awk -f rhawk < testirc.txt
16 awk -f test.awk spades.txt \
17 | awk '-vDEBUG=1' -frhawk 2>&1 1>/dev/null \
18 | grep -v '^ > \(USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\)' \
19 | grep -v '^ . .*\(ACCOUNT\|IDENTIFY\|unicode\|colors\)' \
20 | sed -e 's/^ > PRIVMSG #\w* :/rhawk:\t/' \
21 -e 's/^ < :\([^!]*\)![^ ]* PRIVMSG #\w* :/\1:\t/ '
23 test-select:Q: select.so
27 gcc $CFLAGS -shared -o $target $prereq $LDFLAGS
29 %.o: %.c mkfile config.h
30 gcc $CPPFLAGS $CFLAGS -c -o $target $stem.c