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