+ rm -f core gedcom_parse *.o
+ cd gedcom && $(MAKE) clean
+ cd ansel && $(MAKE) clean
+
+# Test of parser
+
+test: all
+ @export GCONV_PATH=./ansel; \
+ export LD_LIBRARY_PATH=gedcom/.libs; \
+ for file in t/*.ged; do \
+ echo "=== testing $$file"; \
+ ./gedcom_parse -2 $$file; \
+ done
+
+testmem: DMALLOC_CFLAGS=-DMALLOC
+testmem: DMALLOC_LOADLIBES=-ldmalloc
+testmem: clean test