From 5b951a8fd1b380daab4f9e470425236f70ac0c8f Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 21 Feb 2021 11:16:02 +0100 Subject: Use boost test --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8325934..bba1d16 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,14 @@ PORTAUDIOCFLAGS=$(shell pkg-config --cflags portaudiocpp) PORTAUDIOLIBS=$(shell pkg-config --libs portaudiocpp) CXX=clang++-11 -CXXFLAGS=-stdlib=libc++ -Wall -O2 -std=c++17 -fexceptions -Iexternal + +ifeq ($(CXXFLAGS),) +#CXXFLAGS=-O0 -g -D_DEBUG +CXXFLAGS=-O2 -DNDEBUG +endif +CXXFLAGS+=-stdlib=libc++ +CXXFLAGS+=-Wall +CXXFLAGS+=-std=c++17 -fexceptions -Iexternal #-march=native -mtune=native # is not better for llvm CC=clang CFLAGS=-Wall -O2 -Iexternal -- cgit v1.2.3