Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
806 B

  1. ::
  2. :: Makefile to build zlib as statically-linked in a way that works with Steam
  3. :: and the games.
  4. ::
  5. :: **IMPORTANT**: run this batch file from the "Visual Studio 2005 x64 Cross Tools Command Prompt"
  6. ::
  7. @echo off
  8. echo ---------------------------------------------------
  9. echo Building Win64
  10. echo ---------------------------------------------------
  11. nmake -f win32\Makefile.msc clean zlib.lib AS=ml64 LOC="-I. -MT -DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"
  12. IF ERRORLEVEL 1 GOTO END
  13. echo ---------------------------------------------------
  14. echo Publishing Win64
  15. echo ---------------------------------------------------
  16. p4 open ..\..\lib\win64\release\zlib.lib
  17. p4 open ..\..\lib\win64\release\zlib.pdb
  18. copy zlib.lib ..\..\lib\win64\release\
  19. copy zlib.pdb ..\..\lib\win64\release\
  20. :END