Files
flatpak/Makefile
Alexander Larsson a1b0148404 Add --internal-validation to do internal testing
This checks all (most) get_length() and get_child() calls compared to
what GVariant would have returned.
2020-01-16 15:12:01 +01:00

23 lines
862 B
Makefile

all: sample ostree_test performance
sample.h: variant-schema-compiler sample.gv
./variant-schema-compiler --internal-validation --outfile sample.h --prefix=sample sample.gv
sample: sample.c sample.h
gcc `pkg-config --cflags --libs glib-2.0` -g -Wall -o sample sample.c
performance.h: variant-schema-compiler performance.gv
./variant-schema-compiler --outfile performance.h --prefix=performance performance.gv
performance: performance.c performance.h
gcc `pkg-config --cflags --libs glib-2.0` -O2 -o performance performance.c
ostree_test.h: variant-schema-compiler ostree.gv
./variant-schema-compiler --outfile ostree_test.h --prefix=ot ostree.gv
ostree_test: ostree_test.c ostree_test.h
gcc `pkg-config --cflags --libs glib-2.0` -g -Wall -o ostree_test ostree_test.c
clean:
rm -f sample.h sample performance.h performance ostree_test.h ostree_test