diff -r bb715a82a8f1 -r fb65455622b9 Makefile --- a/Makefile Sun Nov 26 16:27:50 2023 +0100 +++ b/Makefile Tue Nov 28 22:45:33 2023 +0100 @@ -20,18 +20,22 @@ clean: rm -rf build -run: build/shader-shark build/jazz.rgba - $(<) --texture build/jazz.rgba +run: build/shader-shark build/jazz.png + $(<) --texture build/jazz.png build: mkdir -p $(@) -SRC=Shark.cpp shader-shark.cpp +SRC=Shark.cpp shader-shark.cpp ImageLoader.cpp build/shader-shark: $(SRC) build *.h $(CXX) -std=c++20 -g -o $(@) $(SRC) $$(pkg-config --cflags --libs \ - epoxy x11 glu glm) + 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 $(<) $(@)