From 7f72142fd6bb67d75acec68302bea9f5321acf93 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 14 Apr 2019 15:27:13 +0200 Subject: New renderer using Aberth's method --- aberth/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 aberth/Makefile (limited to 'aberth/Makefile') diff --git a/aberth/Makefile b/aberth/Makefile new file mode 100644 index 0000000..c5a67cf --- /dev/null +++ b/aberth/Makefile @@ -0,0 +1,20 @@ +CXX = g++ +CXXFLAGS = -Wall -Wextra -std=c++17 -O3 -fwrapv -ffast-math -march=native -mtune=native +LDFLAGS = -pthread + +.PHONY: all clean remake + +all: aberth + +clean: + rm -f aberth *.o + +remake: clean + $(MAKE) all + + +aberth: $(patsubst %.cpp,%.o,$(wildcard *.cpp)) ../lodepng.o + $(CXX) -o $@ $^ $(LDFLAGS) + +%.o: %.cpp $(wildcard *.h) + $(CXX) $(CXXFLAGS) -c -o $@ $< -- cgit v1.2.3-70-g09d2