add extra warnings and remove header guard warning
This commit is contained in:
parent
34ff24b024
commit
6e92a5a963
2 changed files with 2 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -5,4 +5,4 @@ gear
|
|||
compile_commands.json
|
||||
**/*.o
|
||||
**/*.glsl.h
|
||||
.vscode/
|
||||
.vscode/
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue