X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mkfile;h=e9a6d991f1c80388eea97a54436626bebbfe4423;hb=5365628813642303e3473ea73d730ddf38820c14;hp=4f52cb26d22832df549d10183f350a495e3423c4;hpb=467f232316285956b997d446ca458a9d2eb38c07;p=~andy%2Frhawk diff --git a/mkfile b/mkfile index 4f52cb2..e9a6d99 100644 --- a/mkfile +++ b/mkfile @@ -1,4 +1,20 @@ +CFLAGS = -g -Wall -fPIC --std=c99 +CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H + test:Q: - awk -f rhawk < testirc.txt + rm -f var/sp_cur.json #awk -f rhawk < testirc.txt - #awk -f test.awk test.txt | awk -f rhawk #| grep 'points\|bid\|took' + #awk -f rhawk < testirc.txt + awk -f test.awk test.txt \ + | awk '-vDEBUG=1' -frhawk 2>&1 \ + | grep -v '^ >\|USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\|unicode' + #| grep 'points\|bid\|took' + +test-select:Q: select.so + #awk -f select.awk + +%.so: %.o + gcc $CFLAGS -shared -o $target $prereq $LDFLAGS + +%.o: %.c + gcc $CPPFLAGS $CFLAGS -c -o $target $prereq