OPT_FLAGS?= -march=native -flto \ -march=native -fgraphite -fopenmp -floop-parallelize-all -ftree-parallelize-loops=4 \ -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block \ -fno-stack-check -fno-strict-aliasing COMMON_FLAGS?=-pipe -O3 -Wall -pedantic -Wextra -Wstrict-aliasing C_OPT_FLAGS=$(OPT_FLAGS) CXX_OPT_FLAGS=$(OPT_FLAGS) -felide-constructors -fno-exceptions LD_OPT_FLAGS?=-O3 -flto CFLAGS?=$(COMMON_FLAGS) $(C_OPT_FLAGS) --std=gnu11 CXXFLAGS?=$(COMMON_FLAGS) $(CXX_OPT_FLAGS) --std=gnu++20 LDFLAGS?=$(LD_OPT_FLAGS) .PHONY: all all: part1 part2