makeos2.cmd
changeset 560 1940fbc893d1
parent 536 2c41709b7b64
child 599 44af228dd59a
equal deleted inserted replaced
559:6fa9e48b537c 560:1940fbc893d1
     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_SUPPORTS_QPAK -DPHYSFS_LANG=%PHYSFSLANG% -DHAVE_ASSERT_H=1
    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_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DPHYSFS_LANG=%PHYSFSLANG% -DHAVE_ASSERT_H=1
    11 
    11 
    12 @echo on
    12 @echo on
    13 mkdir bin
    13 mkdir bin
    14 erase /N bin\*.*
    14 erase /N bin\*.*
    15 
    15 
   108 gcc %CFLAGS% -o bin/os2.obj platform/os2.c
   108 gcc %CFLAGS% -o bin/os2.obj platform/os2.c
   109 gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
   109 gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
   110 gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
   110 gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
   111 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   111 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   112 gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
   112 gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
       
   113 gcc %CFLAGS% -o bin/hog.obj archivers/hog.c
       
   114 gcc %CFLAGS% -o bin/mvl.obj archivers/mvl.c
   113 
   115 
   114 gcc %CFLAGS% -o bin/adler32.obj zlib114/adler32.c
   116 gcc %CFLAGS% -o bin/adler32.obj zlib114/adler32.c
   115 gcc %CFLAGS% -o bin/compress.obj zlib114/compress.c
   117 gcc %CFLAGS% -o bin/compress.obj zlib114/compress.c
   116 gcc %CFLAGS% -o bin/crc32.obj zlib114/crc32.c
   118 gcc %CFLAGS% -o bin/crc32.obj zlib114/crc32.c
   117 gcc %CFLAGS% -o bin/deflate.obj zlib114/deflate.c
   119 gcc %CFLAGS% -o bin/deflate.obj zlib114/deflate.c