Rename project.

This commit is contained in:
Faerbit 2020-06-07 21:47:27 +02:00
parent 3d051f6c5b
commit b5fb809695
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
*.o
wtracer
toytracer
*.ppm
*.png

View File

@ -3,14 +3,14 @@ CXX = g++
CXXFLAGS = -std=c++20 -Wall -Wextra -Wno-unused-parameter -march=native -Ofast -flto -fopenmp
DEPS = util.h vec3.h color.h ray.h camera.h hittable.h hittable_list.h sphere.h material.h lodepng.h
OBJ = wtracer.o material.o vec3.o lodepng.o
OBJ = main.o material.o vec3.o lodepng.o
TARGET = wtracer
TARGET = toytracer
all: $(TARGET) run
run: $(TARGET)
time -f '%E elapsed' ./wtracer
time -f '%E elapsed' ./$(TARGET)
eog image.png
%.o: %.cpp $(DEPS)