Enable optimimzation

This commit is contained in:
Phireh 2021-08-21 22:40:40 +02:00
commit 6d98c22890

View file

@ -1,5 +1,5 @@
raytracer: main.cpp vec3.hpp color.hpp ray.hpp hittable.hpp sphere.hpp hittable_list.hpp rtweekend.hpp 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 image: raytracer
@./raytracer > image.ppm @./raytracer > image.ppm