From 51528ecf3d90d09351322e172d91eed0cb45b2e7 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 8 Nov 2020 20:34:13 +0200 Subject: Add more test vectors --- makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index ed10a1a..b4cf5d8 100644 --- a/makefile +++ b/makefile @@ -1,20 +1,17 @@ CXX = g++ -CXXFLAGS = -Wall -Wextra -Wpedantic -std=c++2a -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 +objects = main.o test_set_keys.o test_variable_keys.o default: main -release: - $(CXX) -c $(CXXFLAGS) $(RELEASE) main.cpp - $(CXX) -o main main.o - %.o: %.cpp - $(CXX) -c $(CXXFLAGS) $< + $(CXX) -c $(CXXFLAGS) $(RELEASE) $< main: $(objects) - g++ -o $@ $^ + $(CXX) $(LDFLAGS) -o $@ $^ clean: rm $(objects) -- cgit v1.2.1