From 6e92a5a96340ede613d9f6981a9aa43383f43dd9 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 18 Aug 2024 13:10:00 +1200 Subject: [PATCH] add extra warnings and remove header guard warning --- .gitignore | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 70152d9..5cba3bc 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ gear compile_commands.json **/*.o **/*.glsl.h -.vscode/ \ No newline at end of file +.vscode/ diff --git a/Makefile b/Makefile index a5e7962..1c1c545 100644 --- a/Makefile +++ b/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')