makeos2.cmd
changeset 609 3a91332776e0
parent 602 691c1eadb8b7
child 618 193003d7b76f
equal deleted inserted replaced
608:2538f5f073ef 609:3a91332776e0
     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. -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
    10 rem set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -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. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DHAVE_ASSERT_H
    11 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DHAVE_ASSERT_H
    12 
    12 
    13 @echo on
    13 @echo on
    14 mkdir bin
    14 mkdir bin
    15 erase /N bin\*.*
    15 erase /N bin\*.*
    16 
    16 
   107 gcc %CFLAGS% -o bin/physfs.obj physfs.c
   107 gcc %CFLAGS% -o bin/physfs.obj physfs.c
   108 gcc %CFLAGS% -o bin/physfs_byteorder.obj physfs_byteorder.c
   108 gcc %CFLAGS% -o bin/physfs_byteorder.obj physfs_byteorder.c
   109 gcc %CFLAGS% -o bin/os2.obj platform/os2.c
   109 gcc %CFLAGS% -o bin/os2.obj platform/os2.c
   110 gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
   110 gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
   111 gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
   111 gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
       
   112 gcc %CFLAGS% -o bin/wad.obj archivers/wad.c
   112 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   113 gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
   113 gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
   114 gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
   114 gcc %CFLAGS% -o bin/hog.obj archivers/hog.c
   115 gcc %CFLAGS% -o bin/hog.obj archivers/hog.c
   115 gcc %CFLAGS% -o bin/mvl.obj archivers/mvl.c
   116 gcc %CFLAGS% -o bin/mvl.obj archivers/mvl.c
   116 
   117