Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.812 kB
CFLAGS = -g -Wall -fPIC --std=c99
CPPFLAGS = -I/usr/include/awk \
-DDYNAMIC \
-DHAVE_VPRINTF \
-DHAVE_STDARG_H \
-DHAVE_STDBOOL_H \
-DHAVE_STDDEF_H
default: select.so
test:Q:
rm -f var/sp_cur.json
#awk -f rhawk < testirc.txt
#awk -f rhawk < testirc.txt
awk -f test.awk spades.txt \
| awk '-vDEBUG=1' -frhawk 2>&1 1>/dev/null \
| grep -v '^ > \(USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\)' \
| grep -v '^ . .*\(ACCOUNT\|IDENTIFY\|unicode\|colors\)' \
| sed -e 's/^ > PRIVMSG #\w* :/rhawk:\t/' \
-e 's/^ < :\([^!]*\)![^ ]* PRIVMSG #\w* :/\1:\t/ '
test-select:Q: select.so
awk -f select.awk
%.so: %.o
gcc $CFLAGS -shared -o $target $prereq $LDFLAGS
%.o: %.c mkfile config.h
gcc $CPPFLAGS $CFLAGS -c -o $target $stem.c
Jump to Line
Something went wrong with that request. Please try again.