Files
algorithms/Makefile
Aryadev Chavali 5c928bc8c7 (Makefile)~modified to be slightly more agnostic
I'm going to add recipes for other language implementations of certain
algorithms so as long as you have the correct background programs it
just requires a make call to run the program.
2023-07-09 16:22:46 +01:00

18 lines
265 B
Makefile

CC=clang++
CFLAGS=-pedantic -Wall -ggdb -fsanitize=address
VFLAGS=--show-leak-kinds=all --leak-check=full
OUT=
btree.out: btree.cpp
$(CC) $(CFLAGS) $^ -o $@
list.out: list.cpp
$(CC) $(CFLAGS) $^ -o $@
.PHONY: run
run: $(OUT)
./$^
.PHONY: clean
rm -v *.out;