spdlog/bench/Makefile

20 lines
332 B
Makefile
Raw Normal View History

2018-07-05 16:35:07 +03:00
CXX = g++
2016-09-18 02:28:41 +03:00
CXXFLAGS = -march=native -Wall -Wextra -pedantic -std=c++11 -pthread -I../include
2018-07-05 16:35:07 +03:00
CXX_RELEASE_FLAGS = -O3 -flto
2016-04-03 02:14:54 +03:00
2018-07-05 16:35:07 +03:00
binaries=bench
2016-04-03 02:14:54 +03:00
all: $(binaries)
bench: bench.cpp
$(CXX) bench.cpp -o bench $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
2018-07-05 16:35:07 +03:00
2018-03-21 16:46:52 +03:00
2016-04-03 02:14:54 +03:00
.PHONY: clean
clean:
rm -f *.o logs/* $(binaries)
rebuild: clean all