Rename project.
This commit is contained in:
parent
3d051f6c5b
commit
b5fb809695
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
*.o
|
||||
wtracer
|
||||
toytracer
|
||||
*.ppm
|
||||
*.png
|
||||
|
6
Makefile
6
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user