add extra warnings and remove header guard warning

This commit is contained in:
sam 2024-08-18 13:10:00 +12:00
parent 34ff24b024
commit 6e92a5a963
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -5,4 +5,4 @@ gear
compile_commands.json
**/*.o
**/*.glsl.h
.vscode/
.vscode/

View file

@ -2,7 +2,7 @@ BINARY=gear
SHADERC=sokol-shdc
CFLAGS=-I. -Iinclude
CFLAGS=-I. -Iinclude -Wall -Wextra -Werror -Wno-header-guard
SHADER_FLAGS=--slang glsl430:hlsl5:metal_macos
C_FILES=$(shell find -L * -type f -name '*.c')