Triangle numbers implementation

This commit is contained in:
2024-09-15 14:51:06 +01:00
parent 97b23e4f71
commit e56169441b
2 changed files with 69 additions and 2 deletions

View File

@@ -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: