Add profiling with Remotery
This commit is contained in:
parent
c37be6798f
commit
6331a2bf79
50 changed files with 16864 additions and 11 deletions
8
Makefile
8
Makefile
|
|
@ -1,5 +1,9 @@
|
|||
raytracer: camera.hpp color.hpp hittable.hpp hittable_list.hpp main.cpp material.hpp ray.hpp rtweekend.hpp sphere.hpp vec3.hpp
|
||||
@g++ -g -O2 -Wall -Wextra -Wpedantic main.cpp -o raytracer
|
||||
INCLUDE=./include
|
||||
LIBS=-pthread -lm
|
||||
FLAGS=-Og -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
|
||||
|
||||
image: raytracer
|
||||
@./raytracer > image.ppm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue