You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
785 B
47 lines
785 B
|
|
|
|
CXX = g++10 |
|
#CXX = clang++ |
|
|
|
CXXFLAGS = -Wl,-rpath=/usr/local/lib/gcc10 -Wfatal-errors -fPIC -Wall -pedantic -O0 -g3 -pthread -std=c++20 -I../../pikotools/src -I../lib -I/usr/local/include |
|
#CXXFLAGS = -fsanitize=address -Wfatal-errors -fPIC -Wall -pedantic -O0 -g3 -pthread -std=c++20 -I../../pikotools/src -I../lib -I/usr/local/include |
|
LDFLAGS = -L/usr/local/lib |
|
|
|
#-fsanitize=address |
|
|
|
|
|
export CXX |
|
export CXXFLAGS |
|
export LDFLAGS |
|
export AR |
|
|
|
all: lib placefinder |
|
|
|
|
|
lib: FORCE pikotools |
|
$(MAKE) -C lib |
|
|
|
|
|
placefinder: FORCE pikotools lib |
|
$(MAKE) -C placefinder |
|
|
|
|
|
pikotools: FORCE |
|
$(MAKE) -C ../pikotools |
|
|
|
|
|
clean: FORCE |
|
$(MAKE) -C lib clean |
|
$(MAKE) -C placefinder clean |
|
$(MAKE) -C ../pikotools clean |
|
|
|
|
|
depend: FORCE |
|
$(MAKE) -C lib depend |
|
$(MAKE) -C placefinder depend |
|
|
|
|
|
|
|
|
|
FORCE: |
|
|
|
|