Makefile
branchv_0
changeset 29 dc3c102e1264
parent 24 98d033d3ef7c
child 30 02972f051744
--- 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 <http://www.gnu.org/licenses/>.
 
-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++)