Make it still compile on msys2
This commit is contained in:
parent
acde199b4a
commit
5969bfb915
|
@ -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
|
||||||
|
|
2
makefile
2
makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue