]> Pileus Git - ~andy/rhawk/blob - mkfile
Fix broken playto scores
[~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         rm -f var/sp_cur.json
6         #awk -f rhawk < testirc.txt
7         #awk -f rhawk < testirc.txt
8         awk -f test.awk test.txt \
9         | awk '-vDEBUG=1' -frhawk 2>&1 \
10         | grep -v '^  >\|USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\|unicode'
11         #| grep 'points\|bid\|took'
12
13 test-select:Q: select.so
14         #awk -f select.awk
15
16 %.so: %.o
17         gcc $CFLAGS -shared -o $target $prereq $LDFLAGS
18
19 %.o: %.c
20         gcc $CPPFLAGS $CFLAGS -c -o $target $prereq