Enable optimimzation
This commit is contained in:
parent
2e24fef5ac
commit
6d98c22890
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue