makeos2.cmd
changeset 419 5bbbb82ec525
parent 415 cd3495c18f03
child 430 5a445b536027
equal deleted inserted replaced
418:c7070693c03e 419:5bbbb82ec525
     4 rem
     4 rem
     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 DEBUGFLAGS=-D_NDEBUG -O2 -s
     8 set DEBUGFLAGS=-D_NDEBUG -O2 -s
     9 rem set DEBUGFLAGS=-DDEBUG -g
       
    10 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP
     9 set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP
    11 
       
    12 
    10 
    13 @echo on
    11 @echo on
    14 mkdir bin
    12 mkdir bin
    15 erase /N bin\*.*
    13 erase /N bin\*.*
    16 
    14 
   126 gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -Zmt -Zmtd -o bin/physfs.dll bin/*.obj bin/physfs.def
   124 gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -Zmt -Zmtd -o bin/physfs.dll bin/*.obj bin/physfs.def
   127 
   125 
   128 gcc %CFLAGS% -o bin/test_physfs.obj test/test_physfs.c
   126 gcc %CFLAGS% -o bin/test_physfs.obj test/test_physfs.c
   129 gcc %DEBUGFLAGS% -Zomf -Zcrtdll -Zmt -Zmtd -o bin/test_physfs.exe bin/test_physfs.obj bin/physfs.lib bin/test_physfs.def
   127 gcc %DEBUGFLAGS% -Zomf -Zcrtdll -Zmt -Zmtd -o bin/test_physfs.exe bin/test_physfs.obj bin/physfs.lib bin/test_physfs.def
   130 
   128 
   131