removed definition of CXX and CXXFLAGS from Makefile

This commit is contained in:
Tomasz Sowa 2021-05-10 20:07:08 +02:00
parent adee7d134f
commit b3cd4d5f7f
1 changed files with 2 additions and 17 deletions

View File

@ -3,23 +3,12 @@ objfiles:=$(patsubst %.cpp,%.o,$(sourcefiles))
CXX = g++10
#CXX = clang++
#CXXFLAGS = -fsanitize=address -O0 -g3 -gdwarf-2 -O0 -std=c++14 -I../ttmath -I../pikotools -Wl,-rpath=/usr/local/lib/gcc5/ -Wall -pedantic -Wextra
#CXXFLAGS = -O0 -g3 -gdwarf-2 -O0 -std=c++17 -I../ttmath -I../pikotools -Wl,-rpath=/usr/local/lib/gcc7/ -Wall -pedantic -Wextra
CXXFLAGS = -Wl,-rpath=/usr/local/lib/gcc10/ -O0 -g3 -std=c++20 -I../pikotools -Wall -pedantic
ifndef CXX ifndef CXX
CXX = clang++ CXX = g++
endif endif
ifndef CXXFLAGS ifndef CXXFLAGS
CXXFLAGS = -Wall -O2 -I/usr/local/include CXXFLAGS = -Wall -pedantic -O2 -std=c++20 -I../src -I/usr/local/include
endif
ifndef LDFLAGS
LDFLAGS = -L/usr/local/lib
endif endif
ifndef AR ifndef AR
@ -27,10 +16,6 @@ AR = ar
endif endif
#export CXX
#export CXXFLAGS
#export LDFLAGS
#export AR
libname = pikotools.a libname = pikotools.a