diff -r 4cbd9c0beb4c -r dc3c102e1264 Makefile --- a/Makefile Tue Dec 26 23:46:45 2023 +0100 +++ b/Makefile Wed Dec 27 01:50:38 2023 +0100 @@ -1,4 +1,4 @@ -# ShaderShark +# OHP3D # Copyright © 2023 František Kučera (Frantovo.cz, GlobalCode.info) # # This program is free software: you can redistribute it and/or modify @@ -13,19 +13,19 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -all: build/shader-shark +all: build/ohp3d .PHONY: all clean run clean: rm -rf build -run: build/shader-shark - SHADER_SHARK_DATA_DIR=. $(<) +run: build/ohp3d + OHP3D_DATA_DIR=. $(<) SRC= \ - Shark.cpp \ - shader-shark.cpp \ + OHP3D.cpp \ + ohp3d.cpp \ ImageLoader.cpp \ Texture.cpp \ Shader.cpp \ @@ -33,7 +33,7 @@ XAttrs.cpp \ FileMonitor.cpp -build/shader-shark: $(SRC) *.h +build/ohp3d: $(SRC) *.h mkdir -p build $(CXX) -std=c++20 -g -o $(@) $(SRC) $$(pkg-config --cflags --libs \ epoxy x11 glu glm Magick++)