Triangle numbers implementation
This commit is contained in:
8
Makefile
8
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:
|
||||
|
||||
Reference in New Issue
Block a user