From 0fad72aa0985de19bb2f3ed49a810aa67740ede6 Mon Sep 17 00:00:00 2001 From: randy Date: Thu, 4 Jul 2024 09:21:39 +0700 Subject: [PATCH] build_clang -> build --- build.bat | 6 ++++-- build_clang.bat | 11 ----------- 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 build_clang.bat diff --git a/build.bat b/build.bat index 1c34a66..56c0d08 100644 --- a/build.bat +++ b/build.bat @@ -1,9 +1,11 @@ @echo off -rmdir /S /Q build +if exist build ( + rmdir /s /q build +) mkdir build pushd build -clang -g -o cgame.exe ../build.c -O0 -std=c11 -Wextra -Wno-incompatible-library-redeclaration -Wno-sign-compare -Wno-unused-parameter -Wno-builtin-requires-header -lgdi32 -luser32 -lwinmm -ld3d11 -ldxguid -ld3dcompiler -mavx2 -mavx512f -msse4.1 -msse2 +clang -g -o cgame.exe ../build.c -O0 -mavx -std=c11 -Wextra -Wno-incompatible-library-redeclaration -Wno-sign-compare -Wno-unused-parameter -Wno-builtin-requires-header -lgdi32 -luser32 -lwinmm -ld3d11 -ldxguid -ld3dcompiler popd \ No newline at end of file diff --git a/build_clang.bat b/build_clang.bat deleted file mode 100644 index 56c0d08..0000000 --- a/build_clang.bat +++ /dev/null @@ -1,11 +0,0 @@ -@echo off -if exist build ( - rmdir /s /q build -) -mkdir build - -pushd build - -clang -g -o cgame.exe ../build.c -O0 -mavx -std=c11 -Wextra -Wno-incompatible-library-redeclaration -Wno-sign-compare -Wno-unused-parameter -Wno-builtin-requires-header -lgdi32 -luser32 -lwinmm -ld3d11 -ldxguid -ld3dcompiler - -popd \ No newline at end of file