X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mkfile;h=201a4ecdbc3d31246f9192c0d517d212aefd8f62;hb=069896bc3c2f2c21a7bb7b02650d8819766a41d4;hp=138af83407c7495e14045256b834d05fbaa3c30a;hpb=72874ac6d2e803d84f04dced58cb0e5c8afa3651;p=~andy%2Frhawk diff --git a/mkfile b/mkfile index 138af83..201a4ec 100644 --- a/mkfile +++ b/mkfile @@ -1,11 +1,19 @@ CFLAGS = -g -Wall -fPIC --std=c99 CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H -test:Q: select.so - awk -f select.awk +test:Q: + rm -f var/sp_cur.json #awk -f rhawk < testirc.txt #awk -f rhawk < testirc.txt - #awk -f test.awk test.txt | awk -f rhawk #| grep 'points\|bid\|took' + awk -f test.awk test.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