From e56169441b68fbdc79e9e5da4cc63f04ea737d1f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 15 Sep 2024 14:51:06 +0100 Subject: Triangle numbers implementation --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5ba401e..5c9d4f8 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3-13-gbd6f