makeos2.cmd
changeset 453 108de3bb1b6b
parent 430 5a445b536027
child 487 06d6072829ae
equal deleted inserted replaced
452:89578e99ba6e 453:108de3bb1b6b
     5 rem This script (and, indeed, our OS/2 support) could use some tweaking.
     5 rem This script (and, indeed, our OS/2 support) could use some tweaking.
     6 rem  Patches go to icculus@clutteredmind.org ...
     6 rem  Patches go to icculus@clutteredmind.org ...
     7 
     7 
     8 set PHYSFSLANG=PHYSFS_LANG_ENGLISH
     8 set PHYSFSLANG=PHYSFS_LANG_ENGLISH
     9 set DEBUGFLAGS=-D_NDEBUG -O2 -s
     9 set DEBUGFLAGS=-D_NDEBUG -O2 -s
    10 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_LANG=%PHYSFSLANG%
    10 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_LANG=%PHYSFSLANG%
    11 
    11 
    12 @echo on
    12 @echo on
    13 mkdir bin
    13 mkdir bin
    14 erase /N bin\*.*
    14 erase /N bin\*.*
    15 
    15 
   105 gcc %CFLAGS% -o bin/physfs_byteorder.obj physfs_byteorder.c
   105 gcc %CFLAGS% -o bin/physfs_byteorder.obj physfs_byteorder.c
   106 gcc %CFLAGS% -o bin/os2.obj platform/os2.c
   106 gcc %CFLAGS% -o bin/os2.obj platform/os2.c
   107 gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
   107 gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
   108 gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
   108 gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
   109 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   109 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
       
   110 gcc %CFLAGS% -o bin/zip.obj archivers/qpak.c
   110 
   111 
   111 gcc %CFLAGS% -o bin/adler32.obj zlib114/adler32.c
   112 gcc %CFLAGS% -o bin/adler32.obj zlib114/adler32.c
   112 gcc %CFLAGS% -o bin/compress.obj zlib114/compress.c
   113 gcc %CFLAGS% -o bin/compress.obj zlib114/compress.c
   113 gcc %CFLAGS% -o bin/crc32.obj zlib114/crc32.c
   114 gcc %CFLAGS% -o bin/crc32.obj zlib114/crc32.c
   114 gcc %CFLAGS% -o bin/deflate.obj zlib114/deflate.c
   115 gcc %CFLAGS% -o bin/deflate.obj zlib114/deflate.c