summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d7a272c..b771781 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CFLAGS = -O2 -g
-LDFLAGS != pkg-config --libs vulkan sdl2
+LDFLAGS != pkg-config --libs vulkan sdl2 libpng
vulkan: main.c vert.spv frag.spv
- gcc $(CFLAGS) -o vk main.c $(LDFLAGS)
+ gcc $(CFLAGS) -o vk main.c $(LDFLAGS) -lm
%.spv: shader.%
glslc $^ -o $@