]> Pileus Git - ~andy/rhawk/blobdiff - mkfile
Add debug command and update test cases
[~andy/rhawk] / mkfile
diff --git a/mkfile b/mkfile
index 138af83407c7495e14045256b834d05fbaa3c30a..300ac9d7edb60e6b6e034ee5e064fa1a9fd7bd22 100644 (file)
--- a/mkfile
+++ b/mkfile
@@ -1,11 +1,15 @@
 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:
        #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 \
+       #| grep 'points\|bid\|took'
+
+test-select:Q: select.so
+       #awk -f select.awk
 
 %.so: %.o
        gcc $CFLAGS -shared -o $target $prereq $LDFLAGS