summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-25 18:00:06 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-25 18:00:06 -0500
commit795262f69900af674156bed2bcd0fdb57dbbb55e (patch)
tree03723b919ff498722d7985a93f9ce7f470596abb /make.bat
parenta56f549a266e14cdc00a98e8dc3e154f5ac6c23e (diff)
replaced c32rtomb, mbrtoc32 with own versions
these are nicer to use since they don't involve mbstate_t and should be faster since they don't involve locales
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat7
1 files changed, 3 insertions, 4 deletions
diff --git a/make.bat b/make.bat
index 0f4fcdf..dee7a0c 100644
--- a/make.bat
+++ b/make.bat
@@ -6,9 +6,8 @@ if _%VCVARS% == _ (
SET CFLAGS=/nologo /W4 /wd4200 /wd4204 /wd4221 /wd4706 /D_CRT_SECURE_NO_WARNINGS /I SDL2/include SDL2/lib/x64/SDL2main.lib SDL2/lib/x64/SDL2.lib opengl32.lib shell32.lib ole32.lib
rc /nologo ted.rc
-SET SOURCES=main.c text.c ted.res
if _%1 == _ (
- cl %SOURCES% /DDEBUG /DEBUG /Zi %CFLAGS% /Fe:ted
+ cl main.c text.c ted.res /DDEBUG /DEBUG /Zi %CFLAGS% /Fe:ted
)
-if _%1 == _release cl %SOURCES% /O2 %CFLAGS% /Fe:ted
-if _%1 == _profile cl %SOURCES% /O2 /DPROFILE %CFLAGS% /Fe:ted
+if _%1 == _release cl main.c ted.res /O2 %CFLAGS% /Fe:ted
+if _%1 == _profile cl main.c ted.res /O2 /DPROFILE %CFLAGS% /Fe:ted