diff options
Diffstat (limited to 'make.bat')
-rw-r--r-- | make.bat | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |