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.
proxysql/Makefile

45 lines
538 B

ALL_DEBUG=-ggdb -DDEBUG
NO_DEBUG=
DEBUG=${ALL_DEBUG}
O0=-O0
O2=-O2
O1=-O1
O3=-O3 -mtune=native
OPTZ=$(O0)
EXTRALINK=#-pg
#export DEBUG
export OPTZ
export EXTRALINK
debug:
DEBUG="${ALL_DEBUG}" make default
default:
make deps
make lib
make src
.PHONY: default
.PHONY: deps
deps:
cd deps && make
.PHONY: lib
lib:
cd lib && make -j 5
.PHONY: src
src:
cd src && make
.PHONY: clean
clean:
cd lib && make clean
cd src && make clean
.PHONY: cleanall
cleanall:
cd deps && make cleanall
cd lib && make clean
cd src && make clean