diff --git a/Makefile b/Makefile index e8e6753..02896c9 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,14 @@ CFLAGS=-pedantic -Wall -ggdb -fsanitize=address VFLAGS=--show-leak-kinds=all --leak-check=full OUT= -$(OUT).out: $(OUT).cpp +btree.out: btree.cpp + $(CC) $(CFLAGS) $^ -o $@ + +list.out: list.cpp $(CC) $(CFLAGS) $^ -o $@ .PHONY: run -run: $(OUT).out +run: $(OUT) ./$^ .PHONY: clean