Source

Chain / meta / Makefile

Full commit
tests: ../chain.c ../chain.h tests.c
	gcc -std=c99 -g -Wall -Wextra -I.. -I../../benchmark -o tests ../chain.c ../../benchmark/benchmark.c tests.c  -lrt

run-tests: tests
	./tests
	
benchmark: tests
	./tests --benchmark
	gnuplot plots/shove-insert-push.plt
	gnuplot plots/shove.plt

memcheck: tests
	valgrind --tool=memcheck ./tests