CC=g++ CFLAGS=-pedantic -Wall -Wextra -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address OUT= ARGS= pingala.out: impls/pingala.cpp $(CC) $(CFLAGS) $^ -o $@ btree.out: impls/btree.cpp $(CC) $(CFLAGS) $^ -o $@ list.out: impls/list.cpp $(CC) $(CFLAGS) $^ -o $@ bsearch.out: impls/bsearch.cpp $(CC) $(CFLAGS) $^ -o $@ vec.out: impls/vec.c $(CC) $(CFLAGS) $^ -o $@ .PHONY: run run: $(OUT) ./$^ $(ARGS) .PHONY: clean clean: rm -v *.out *.txt;