aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-16 11:56:02 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-16 11:56:02 -0500
commit8f34f26cdc7634cb5968755e9a5cf39090ca8279 (patch)
tree19a315a05a1c842bbc4ddd2450fba48c21fc9b36 /Makefile
parent4ba873caba1d725aa72a135e4bd5fc69a9b7ef64 (diff)
downloadvolute-8f34f26cdc7634cb5968755e9a5cf39090ca8279.zip
microui renderer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5947638..a075288 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -ansi -Wall -Wextra -pedantic -Wno-deprecated-declarations
+CFLAGS = -std=c99 -Wall -Wextra -pedantic -Wno-deprecated-declarations
LDFLAGS = $(shell sdl2-config --libs)
# Link OpenGL.
@@ -14,7 +14,7 @@ else
endif
LDFLAGS += $(GLFLAG)
-SRC = main.c microui.c
+SRC = main.c microui.c renderer.c
OBJ = ${SRC:.c=.o}
all: volute
@@ -28,4 +28,4 @@ volute: ${OBJ}
%.o: %.c
${CC} -c ${CFLAGS} $<
-${SRC}: microui.h
+${SRC}: microui.h renderer.h atlas.inl