summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2023-04-17 14:12:51 -0700
committerkitty piapiac <kcp@bsd.computer>2023-04-17 14:12:51 -0700
commit28e849b3c5d683a5cdb56047189b4d73e523bbf4 (patch)
tree37168540deb94234749e3b1e4ffec868ea0b72b6 /Makefile
parent8ad89fb13af5ffaec52e196f1874d18ec129031c (diff)
texture loading
tex.c -- load textures graph.c -- graph_shader_tex && graph_tex_create()
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d9cd93f..2a5adbd 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,12 @@
CC := clang
CFLAGS := -std=c11 -Wall -Wextra -Wshadow -Iinclude $(shell sdl2-config --cflags)
LDFLAGS :=
-LDLIBS := -ldl $(shell sdl2-config --libs)
+LDLIBS := -ldl -lm $(shell sdl2-config --libs)
all: mino
-mino: glad.o graph.o mino.o
+mino: glad.o tex.o graph.o mino.o
mino.o: mino.c include/mino.h
graph.o: graph.c include/graph.h
+tex.o: tex.c include/tex.h
glad.o: glad.c include/glad/glad.h
clean:
- rm -rf mino mino.o graph.o glad.o
+ rm -rf mino mino.o graph.o tex.o glad.o