Rename project.
This commit is contained in:
parent
3d051f6c5b
commit
b5fb809695
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
*.o
|
*.o
|
||||||
wtracer
|
toytracer
|
||||||
*.ppm
|
*.ppm
|
||||||
*.png
|
*.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
|
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
|
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
|
all: $(TARGET) run
|
||||||
|
|
||||||
run: $(TARGET)
|
run: $(TARGET)
|
||||||
time -f '%E elapsed' ./wtracer
|
time -f '%E elapsed' ./$(TARGET)
|
||||||
eog image.png
|
eog image.png
|
||||||
|
|
||||||
%.o: %.cpp $(DEPS)
|
%.o: %.cpp $(DEPS)
|
||||||
|
Loading…
Reference in New Issue
Block a user