]> Pileus Git - ~andy/rhawk/blob - mkfile
Add debug command and update test cases
[~andy/rhawk] / mkfile
1 CFLAGS   = -g -Wall -fPIC --std=c99
2 CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H
3
4 test:Q:
5         #awk -f rhawk < testirc.txt
6         #awk -f rhawk < testirc.txt
7         awk -f test.awk test.txt \
8         | awk '-vDEBUG=1' -frhawk \
9         #| grep 'points\|bid\|took'
10
11 test-select:Q: select.so
12         #awk -f select.awk
13
14 %.so: %.o
15         gcc $CFLAGS -shared -o $target $prereq $LDFLAGS
16
17 %.o: %.c
18         gcc $CPPFLAGS $CFLAGS -c -o $target $prereq