--- a/Makefile Sat Dec 02 21:25:02 2023 +0100
+++ b/Makefile Sat Dec 02 23:11:56 2023 +0100
@@ -20,8 +20,8 @@
clean:
rm -rf build
-run: build/shader-shark build/jazz.png
- $(<) --texture build/jazz.png
+run: build/shader-shark
+ SHADER_SHARK_DATA_DIR=. $(<)
build:
mkdir -p $(@)
@@ -37,11 +37,3 @@
build/shader-shark: $(SRC) build *.h
$(CXX) -std=c++20 -g -o $(@) $(SRC) $$(pkg-config --cflags --libs \
epoxy x11 glu glm Magick++)
-
-build/jazz.png: textures/jazz.png
- mkdir -p build
- cp --reflink=auto $(<) $(@)
-
-build/jazz.rgba: textures/jazz.png
- mkdir -p build
- convert -format rgba $(<) $(@)