From 6d98c228904ae563ed1cd2f1bcc763b0e7be010f Mon Sep 17 00:00:00 2001 From: Phireh Date: Sat, 21 Aug 2021 22:40:40 +0200 Subject: [PATCH] Enable optimimzation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ea9605..1f42d88 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ raytracer: main.cpp vec3.hpp color.hpp ray.hpp hittable.hpp sphere.hpp hittable_list.hpp rtweekend.hpp - @g++ -g -Wall -Wextra -Wpedantic main.cpp -o raytracer + @g++ -g -O2 -Wall -Wextra -Wpedantic main.cpp -o raytracer image: raytracer @./raytracer > image.ppm