makeos2.cmd
author Ryan C. Gordon <icculus@icculus.org>
Fri, 22 Nov 2002 06:24:10 +0000
changeset 504 3420d82f9b01
parent 487 06d6072829ae
child 536 2c41709b7b64
permissions -rw-r--r--
Some cleanups for PocketPC port.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
@echo off
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
rem this is a simple batch file to build PhysicsFS on OS/2. You need to have
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
rem  the EMX development tools installed for this to work.
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
rem
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
rem This script (and, indeed, our OS/2 support) could use some tweaking.
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
rem  Patches go to icculus@clutteredmind.org ...
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
430
5a445b536027 Set a default language.
Ryan C. Gordon <icculus@icculus.org>
parents: 419
diff changeset
     8
set PHYSFSLANG=PHYSFS_LANG_ENGLISH
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
     9
set DEBUGFLAGS=-D_NDEBUG -O2 -s
504
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 487
diff changeset
    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
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    11
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
@echo on
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
mkdir bin
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    14
erase /N bin\*.*
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    15
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    16
@echo ;don't edit this directly! It is rewritten by makeos2.cmd! > bin\test_physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    17
@echo NAME TESTPHYSFS WINDOWCOMPAT >> bin\test_physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    18
@echo DESCRIPTION 'PhysicsFS: http://icculus.org/physfs/' >> bin\test_physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    19
@echo STACKSIZE 0x10000 >> bin\test_physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    20
@echo BASE=0x10000 >> bin\test_physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    21
@echo PROTMODE >> bin\test_physfs.def
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    23
@echo ;don't edit this directly! It is rewritten by makeos2.cmd! > bin\physfs.def
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    24
@echo LIBRARY 'physfs' INITINSTANCE TERMINSTANCE >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    25
@echo STACKSIZE 0x10000 >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    26
@echo CODE LOADONCALL >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    27
@echo DATA LOADONCALL NONSHARED MULTIPLE >> bin\physfs.def
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    28
@echo DESCRIPTION 'PhysicsFS: http://icculus.org/physfs/' >> bin\physfs.def
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    29
@echo EXPORTS >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    30
@echo  "PHYSFS_getLinkedVersion" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    31
@echo  "PHYSFS_init" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    32
@echo  "PHYSFS_deinit" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    33
@echo  "PHYSFS_supportedArchiveTypes" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    34
@echo  "PHYSFS_freeList" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    35
@echo  "PHYSFS_getLastError" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    36
@echo  "PHYSFS_getDirSeparator" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    37
@echo  "PHYSFS_permitSymbolicLinks" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    38
@echo  "PHYSFS_getCdRomDirs" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    39
@echo  "PHYSFS_getBaseDir" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    40
@echo  "PHYSFS_getUserDir" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    41
@echo  "PHYSFS_getWriteDir" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    42
@echo  "PHYSFS_setWriteDir" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    43
@echo  "PHYSFS_addToSearchPath" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    44
@echo  "PHYSFS_removeFromSearchPath" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    45
@echo  "PHYSFS_getSearchPath" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    46
@echo  "PHYSFS_setSaneConfig" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    47
@echo  "PHYSFS_mkdir" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    48
@echo  "PHYSFS_delete" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    49
@echo  "PHYSFS_getRealDir" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    50
@echo  "PHYSFS_enumerateFiles" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    51
@echo  "PHYSFS_exists" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    52
@echo  "PHYSFS_isDirectory" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    53
@echo  "PHYSFS_isSymbolicLink" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    54
@echo  "PHYSFS_openWrite" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    55
@echo  "PHYSFS_openAppend" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    56
@echo  "PHYSFS_openRead" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    57
@echo  "PHYSFS_close" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    58
@echo  "PHYSFS_read" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    59
@echo  "PHYSFS_write" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    60
@echo  "PHYSFS_eof" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    61
@echo  "PHYSFS_tell" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    62
@echo  "PHYSFS_seek" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    63
@echo  "PHYSFS_fileLength" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    64
@echo  "PHYSFS_swapSLE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    65
@echo  "PHYSFS_swapULE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    66
@echo  "PHYSFS_swapSLE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    67
@echo  "PHYSFS_swapULE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    68
@echo  "PHYSFS_swapSLE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    69
@echo  "PHYSFS_swapULE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    70
@echo  "PHYSFS_swapSBE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    71
@echo  "PHYSFS_swapUBE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    72
@echo  "PHYSFS_swapSBE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    73
@echo  "PHYSFS_swapUBE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    74
@echo  "PHYSFS_swapSBE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    75
@echo  "PHYSFS_swapUBE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    76
@echo  "PHYSFS_getLastModTime" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    77
@echo  "PHYSFS_readSLE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    78
@echo  "PHYSFS_readULE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    79
@echo  "PHYSFS_readSLE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    80
@echo  "PHYSFS_readULE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    81
@echo  "PHYSFS_readSLE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    82
@echo  "PHYSFS_readULE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    83
@echo  "PHYSFS_readSBE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    84
@echo  "PHYSFS_readUBE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    85
@echo  "PHYSFS_readSBE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    86
@echo  "PHYSFS_readUBE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    87
@echo  "PHYSFS_readSBE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    88
@echo  "PHYSFS_readUBE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    89
@echo  "PHYSFS_writeSLE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    90
@echo  "PHYSFS_writeULE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    91
@echo  "PHYSFS_writeSLE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    92
@echo  "PHYSFS_writeULE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    93
@echo  "PHYSFS_writeSLE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    94
@echo  "PHYSFS_writeULE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    95
@echo  "PHYSFS_writeSBE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    96
@echo  "PHYSFS_writeUBE16" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    97
@echo  "PHYSFS_writeSBE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    98
@echo  "PHYSFS_writeUBE32" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
    99
@echo  "PHYSFS_writeSBE64" >> bin\physfs.def
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
   100
@echo  "PHYSFS_writeUBE64" >> bin\physfs.def
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   101
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
   102
emximp -o bin/physfs.lib bin/physfs.def
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   103
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   104
gcc %CFLAGS% -o bin/physfs.obj physfs.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   105
gcc %CFLAGS% -o bin/physfs_byteorder.obj physfs_byteorder.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   106
gcc %CFLAGS% -o bin/os2.obj platform/os2.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   107
gcc %CFLAGS% -o bin/dir.obj archivers/dir.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   108
gcc %CFLAGS% -o bin/grp.obj archivers/grp.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   109
gcc %CFLAGS% -o bin/zip.obj archivers/zip.c
487
06d6072829ae Fixed build error.
Ryan C. Gordon <icculus@icculus.org>
parents: 453
diff changeset
   110
gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   111
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   112
gcc %CFLAGS% -o bin/adler32.obj zlib114/adler32.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   113
gcc %CFLAGS% -o bin/compress.obj zlib114/compress.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   114
gcc %CFLAGS% -o bin/crc32.obj zlib114/crc32.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   115
gcc %CFLAGS% -o bin/deflate.obj zlib114/deflate.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   116
gcc %CFLAGS% -o bin/infblock.obj zlib114/infblock.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   117
gcc %CFLAGS% -o bin/infcodes.obj zlib114/infcodes.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   118
gcc %CFLAGS% -o bin/inffast.obj zlib114/inffast.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   119
gcc %CFLAGS% -o bin/inflate.obj zlib114/inflate.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   120
gcc %CFLAGS% -o bin/inftrees.obj zlib114/inftrees.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   121
gcc %CFLAGS% -o bin/infutil.obj zlib114/infutil.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   122
gcc %CFLAGS% -o bin/trees.obj zlib114/trees.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   123
gcc %CFLAGS% -o bin/uncompr.obj zlib114/uncompr.c 
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   124
gcc %CFLAGS% -o bin/zutil.obj zlib114/zutil.c
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   125
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
   126
gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -Zmt -Zmtd -o bin/physfs.dll bin/*.obj bin/physfs.def
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   127
415
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
   128
gcc %CFLAGS% -o bin/test_physfs.obj test/test_physfs.c
cd3495c18f03 Build system fixes.
Ryan C. Gordon <icculus@icculus.org>
parents: 408
diff changeset
   129
gcc %DEBUGFLAGS% -Zomf -Zcrtdll -Zmt -Zmtd -o bin/test_physfs.exe bin/test_physfs.obj bin/physfs.lib bin/test_physfs.def
408
db3ef8d2928e Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   130