10 lines
441 B
Plaintext
10 lines
441 B
Plaintext
CPPFLAGS_ = -Wall -std=c++17 -fcolor-diagnostics -g -O1
|
|
CPPFLAGS_ASAN = $(CPPFLAGS_) -fsanitize=address -fno-omit-frame-pointer
|
|
CPPFLAGS_THREAD = $(CPPFLAGS_) -fsanitize=thread
|
|
CPPFLAGS_MEM = $(CPPFLAGS_) -fsanitize=memory -fno-omit-frame-pointer
|
|
CPPFLAGS_UB = $(CPPFLAGS_) -fsanitize=undefined
|
|
CPPFLAGS = $(CPPFLAGS_)
|
|
|
|
: foreach *.cpp |> clang++ -c %f -o %o $(CPPFLAGS) |> %B.o {objs}
|
|
: {objs} |> clang++ %f -o %o $(CPPFLAGS) |> ./pipeline
|