Make it still compile on msys2

This commit is contained in:
Simon Gellis 2024-10-26 12:46:26 -04:00
parent acde199b4a
commit 5969bfb915
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#include <graphics.h> #include <graphics.h>
#include <stdio.h>
#define WINDOW_WIDTH 1536 #define WINDOW_WIDTH 1536
#define WINDOW_HEIGHT 896 #define WINDOW_HEIGHT 896

View File

@ -28,7 +28,7 @@ output/%.o: %.c
@mkdir -p output @mkdir -p output
@$(CC) -c -o $@ $< -I . \ @$(CC) -c -o $@ $< -I . \
-I shrooms-vb-core/core $(SDL2FLAGS) \ -I shrooms-vb-core/core $(SDL2FLAGS) \
-O3 -flto=auto -fno-strict-aliasing \ -O3 -flto=auto -Wno-long-long \
-Werror -std=c90 -Wall -Wextra -Wpedantic -Werror -std=c90 -Wall -Wextra -Wpedantic
output/vb.o: shrooms-vb-core/core/vb.c output/vb.o: shrooms-vb-core/core/vb.c