summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2023-04-21 23:50:06 -0700
committerkitty piapiac <kcp@bsd.computer>2023-04-21 23:50:06 -0700
commit8f38659932677a2b0e00b7f4abda54ac76a8ecd9 (patch)
tree705767e858a3fe0c89b7b4bc0440012a084c6921 /Makefile
parent599cde356b576759475d34dbfadb5548926c089d (diff)
SRS-style rotation skeleton
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ea2ca2a..6875c69 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,17 @@
.POSIX:
CC := clang
-CFLAGS := -std=c11 -g -O0 -Wall -Wextra -Wshadow -Iinclude $(shell sdl2-config --cflags) $(shell pkg-config --cflags cglm)
+CFLAGS := -std=c11 -g -O0 -Wall -Wextra -Wshadow -Iinclude -Idep/cglm/include $(shell sdl2-config --cflags)
LDFLAGS :=
-LDLIBS := -ldl -lm $(shell sdl2-config --libs) $(shell pkg-config --libs cglm)
+LDLIBS := -ldl -lm $(shell sdl2-config --libs)
all: mino
-mino: glad.o tex.o graph.o input.o scene.o scene-title.o mino.o
+mino: glad.o tex.o graph.o input.o scene.o scenes.o core.o mino.o
mino.o: mino.c include/mino.h
+core.o: core.c include/core.h
scene.o: scene.c include/scene.h
-scene-title.o: scene-title.c
+scenes.o: scenes.c
input.o: input.c include/input.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 scene-title.o scene.o input.o graph.o tex.o glad.o
+ rm -rf mino mino.o core.o scenes.o scene.o input.o graph.o tex.o glad.o