diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ -CC=clang +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 $@ @@ -16,7 +20,7 @@ vec.out: impls/vec.c .PHONY: run run: $(OUT) - ./$^ + ./$^ $(ARGS) .PHONY: clean clean: |