More timing functions
This commit is contained in:
parent
6331a2bf79
commit
321c677da2
12 changed files with 184 additions and 129 deletions
4
Makefile
4
Makefile
|
|
@ -1,9 +1,9 @@
|
|||
INCLUDE=./include
|
||||
LIBS=-pthread -lm
|
||||
FLAGS=-Og -g -Wall -Wextra -Wpedantic
|
||||
FLAGS=-Ofast -march=native -g -Wall -Wextra -Wpedantic
|
||||
|
||||
raytracer: camera.hpp color.hpp hittable.hpp hittable_list.hpp main.cpp material.hpp ray.hpp rtweekend.hpp sphere.hpp vec3.hpp $(INCLUDE)/Remotery.c $(INCLUDE)/Remotery.h
|
||||
@g++ $(FLAGS) -I$(INCLUDE) $(LIBS) main.cpp -o raytracer
|
||||
g++ $(FLAGS) -I$(INCLUDE) $(LIBS) main.cpp -o raytracer
|
||||
|
||||
image: raytracer
|
||||
@./raytracer > image.ppm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue