From b5fb809695637385e00b256f967c965ee5df0713 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 7 Jun 2020 21:47:27 +0200 Subject: [PATCH] Rename project. --- .gitignore | 2 +- Makefile | 6 +++--- wtracer.cpp => main.cpp | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename wtracer.cpp => main.cpp (100%) diff --git a/.gitignore b/.gitignore index 1c45897..66c3a3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.o -wtracer +toytracer *.ppm *.png diff --git a/Makefile b/Makefile index dbc800e..913f4df 100644 --- a/Makefile +++ b/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) diff --git a/wtracer.cpp b/main.cpp similarity index 100% rename from wtracer.cpp rename to main.cpp