]> Pileus Git - grits/blob - examples/volume/mkfile
Add volume testing code
[grits] / examples / volume / mkfile
1 MKSHELL=/usr/lib/plan9/bin/rc
2
3 PKG_CONFIG_PATH=../../src/
4 LD_LIBRARY_PATH=../../src/.libs/
5 PKGS=grits
6
7 CFLAGS=-Wall -Wno-unused -Werror -g -p -pg --std=gnu99 -I../
8 PROGS=volume
9 default:V: volume-run
10
11 volume_libs=-lrsl
12 volume: volume.o ../tester.o
13
14 memcheck: all
15         G_SLICE=always-malloc                               \
16         G_DEBUG=gc-friendly,resident-modules                \
17         valgrind '--track-origins=yes'                      \
18                  '--leak-check=full'                        \
19                  '--leak-resolution=high'                   \
20                  '--num-callers=50'                         \
21                  '--suppressions=../../src/gtk.suppression' \
22                  ./volume                                   \
23         >[2] valgrind.out
24
25 <$HOME/lib/mkcommon