summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat10
1 files changed, 5 insertions, 5 deletions
diff --git a/make.bat b/make.bat
index 4fdc115..74c3851 100644
--- a/make.bat
+++ b/make.bat
@@ -6,10 +6,10 @@ if _%VCVARS% == _ (
if not exist obj mkdir obj
SET CFLAGS=/nologo /W3 /D_CRT_SECURE_NO_WARNINGS /I SDL2/include /I box2d SDL2/lib/x64/SDL2main.lib SDL2/lib/x64/SDL2.lib opengl32.lib box2d.lib /MD
+rc /nologo boxcatapult2d.rc
if _%1 == _ (
- cl main.cpp /DDEBUG /DEBUG /Zi %CFLAGS% /Fo:obj/urbs /Fe:physics
- cl sim.cpp /DDEBUG /DEBUG /LD %CFLAGS% /Fo:obj/sim /Fe:obj/sim
- echo > obj\sim.dll_changed
+ cl main.cpp /DDEBUG /DEBUG /Zi %CFLAGS% /Fo:obj/urbs /Fe:boxcatapult2d boxcatapult2d.res
+ rem cl sim.cpp /DDEBUG /DEBUG /LD %CFLAGS% /Fo:obj/sim /Fe:obj/sim
+ rem echo > obj\sim.dll_changed
)
-if _%1 == _release cl main.cpp /O2 %CFLAGS% /Fe:physics
-if _%1 == _profile cl main.cpp /O2 /DPROFILE %CFLAGS% /Fe:physics
+if _%1 == _release cl main.cpp /O2 %CFLAGS% /Fe:boxcatapult2d boxcatapult2d.res