diff options
author | Roland Reichwein <mail@reichwein.it> | 2021-02-21 11:16:02 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2021-02-21 11:16:02 +0100 |
commit | 5b951a8fd1b380daab4f9e470425236f70ac0c8f (patch) | |
tree | 23a869f6a8aade01247c0604fdb9f991b3c446d5 /Makefile | |
parent | 3b758009c7b1e945444ca3be746d05074bac0dab (diff) |
Use boost test
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |