api2021 part I #4
19
src/Makefile
19
src/Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue