makeos2.cmd
changeset 718 2e809894a316
parent 709 440369665d77
child 767 db29bf06d171
equal deleted inserted replaced
717:ae8bc9888553 718:2e809894a316
     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 rem set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib122 -c -D__ST_MT_ERRNO__ -DOS2 -DZ_PREFIX -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DPHYSFS_LANG=%PHYSFSLANG% -DHAVE_ASSERT_H
    10 rem set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib123 -c -D__ST_MT_ERRNO__ -DOS2 -DZ_PREFIX -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DPHYSFS_LANG=%PHYSFSLANG% -DHAVE_ASSERT_H
    11 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib122 -c -D__ST_MT_ERRNO__ -DOS2 -DZ_PREFIX -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DHAVE_ASSERT_H
    11 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib123 -c -D__ST_MT_ERRNO__ -DOS2 -DZ_PREFIX -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DHAVE_ASSERT_H
    12 
    12 
    13 rem goto :dolinking
    13 rem goto :dolinking
    14 
    14 
    15 @echo cleaning up any previous build...
    15 @echo cleaning up any previous build...
    16 @mkdir bin 2>NUL
    16 @mkdir bin 2>NUL
   124 gcc %CFLAGS% -o bin/wad.obj archivers/wad.c
   124 gcc %CFLAGS% -o bin/wad.obj archivers/wad.c
   125 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   125 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   126 gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
   126 gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
   127 gcc %CFLAGS% -o bin/hog.obj archivers/hog.c
   127 gcc %CFLAGS% -o bin/hog.obj archivers/hog.c
   128 gcc %CFLAGS% -o bin/mvl.obj archivers/mvl.c
   128 gcc %CFLAGS% -o bin/mvl.obj archivers/mvl.c
   129 gcc %CFLAGS% -o bin/adler32.obj zlib122/adler32.c
   129 gcc %CFLAGS% -o bin/adler32.obj zlib123/adler32.c
   130 gcc %CFLAGS% -o bin/compress.obj zlib122/compress.c
   130 gcc %CFLAGS% -o bin/compress.obj zlib123/compress.c
   131 gcc %CFLAGS% -o bin/crc32.obj zlib122/crc32.c
   131 gcc %CFLAGS% -o bin/crc32.obj zlib123/crc32.c
   132 gcc %CFLAGS% -o bin/deflate.obj zlib122/deflate.c
   132 gcc %CFLAGS% -o bin/deflate.obj zlib123/deflate.c
   133 gcc %CFLAGS% -o bin/gzio.obj zlib122/gzio.c
   133 gcc %CFLAGS% -o bin/gzio.obj zlib123/gzio.c
   134 gcc %CFLAGS% -o bin/infback.obj zlib122/infback.c
   134 gcc %CFLAGS% -o bin/infback.obj zlib123/infback.c
   135 gcc %CFLAGS% -o bin/inffast.obj zlib122/inffast.c
   135 gcc %CFLAGS% -o bin/inffast.obj zlib123/inffast.c
   136 gcc %CFLAGS% -o bin/inflate.obj zlib122/inflate.c
   136 gcc %CFLAGS% -o bin/inflate.obj zlib123/inflate.c
   137 gcc %CFLAGS% -o bin/inftrees.obj zlib122/inftrees.c
   137 gcc %CFLAGS% -o bin/inftrees.obj zlib123/inftrees.c
   138 gcc %CFLAGS% -o bin/trees.obj zlib122/trees.c
   138 gcc %CFLAGS% -o bin/trees.obj zlib123/trees.c
   139 gcc %CFLAGS% -o bin/uncompr.obj zlib122/uncompr.c
   139 gcc %CFLAGS% -o bin/uncompr.obj zlib123/uncompr.c
   140 gcc %CFLAGS% -o bin/zutil.obj zlib122/zutil.c
   140 gcc %CFLAGS% -o bin/zutil.obj zlib123/zutil.c
   141 @echo off
   141 @echo off
   142 
   142 
   143 :dolinking
   143 :dolinking
   144 @echo Linking PhysicsFS library...
   144 @echo Linking PhysicsFS library...
   145 gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -Zmt -Zmtd -o bin/physfs.dll bin/*.obj bin/physfs.def
   145 gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -Zmt -Zmtd -o bin/physfs.dll bin/*.obj bin/physfs.def