blob: b4cf5d83d49a6da964dd354601c561da6f1a91bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
CXX = g++
CXXFLAGS = -Wall -Wextra -Wpedantic -std=c++2a -g -funroll-loops
LDFLAGS = -static -static-libgcc -static-libstdc++
RELEASE = -O3 -march=native -mtune=native
objects = main.o test_set_keys.o test_variable_keys.o
default: main
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $(RELEASE) $<
main: $(objects)
$(CXX) $(LDFLAGS) -o $@ $^
clean:
rm $(objects)
|