simdjson/Makefile

27 lines
438 B
Makefile
Raw Normal View History

2018-03-23 12:05:32 +08:00
.SUFFIXES:
#
.SUFFIXES: .cpp .o .c .h
.PHONY: clean cleandist
2018-07-14 10:22:30 +08:00
CXXFLAGS = -std=c++11 -O2 -march=native -Wall -Wextra -Wshadow
#CXXFLAGS = -std=c++11 -O2 -march=native -Wall -Wextra -Wshadow -Wno-implicit-function-declaration
2018-03-23 12:05:32 +08:00
EXECUTABLES=parse
all: $(EXECUTABLES)
parse: main.cpp common_defs.h vecdecode.h linux-perf-events.h
2018-03-23 12:05:32 +08:00
$(CXX) $(CXXFLAGS) -o parse main.cpp
clean:
rm -f $(EXECUTABLES)
cleandist:
rm -f $(EXECUTABLES)