diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-15 14:51:06 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-15 14:51:06 +0100 |
commit | e56169441b68fbdc79e9e5da4cc63f04ea737d1f (patch) | |
tree | 753682deac67e4105301f2f1d527992b764ae419 /Makefile | |
parent | 97b23e4f715ba87a15fd85eaa03dd885bcdf8369 (diff) | |
download | algorithms-e56169441b68fbdc79e9e5da4cc63f04ea737d1f.tar.gz algorithms-e56169441b68fbdc79e9e5da4cc63f04ea737d1f.tar.bz2 algorithms-e56169441b68fbdc79e9e5da4cc63f04ea737d1f.zip |
Triangle numbers implementation
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: |