+PHONY += tests
+tests: $(LIB_SO)
+# $(MAKE) -C $(TESTS_DIR)
+
+BENCH_DIR := benchmarks
+
+PHONY += benchmarks
+benchmarks: $(LIB_SO)
+ @if ! test -d $(BENCH_DIR); then \
+ echo "Directory $(BENCH_DIR) does not exist" && \
+ echo "Please clone the benchmarks repository" && \
+ echo && \
+ exit 1; \
+ fi
+ $(MAKE) -C $(BENCH_DIR)
+
+PHONY += pdfs
+pdfs: $(patsubst %.dot,%.pdf,$(wildcard *.dot))
+
+.PHONY: $(PHONY)
+
+# A 1-inch margin PDF generated by 'pandoc'
+%.pdf: %.md
+ pandoc -o $@ $< -V header-includes='\usepackage[margin=1in]{geometry}'
+
+tabbing:
+ uncrustify -c C.cfg --no-backup --replace *.cc
+ uncrustify -c C.cfg --no-backup --replace *.h
+ uncrustify -c C.cfg --no-backup --replace include/*
+