Updated build stuff. Generates optimized DLL, now.

This commit is contained in:
Ryan C. Gordon 2002-07-28 04:01:02 +00:00
parent 0a0d9adc7d
commit 02b3ce83d3
1 changed files with 0 additions and 3 deletions

View File

@ -6,10 +6,8 @@ rem This script (and, indeed, our OS/2 support) could use some tweaking.
rem Patches go to icculus@clutteredmind.org ...
set DEBUGFLAGS=-D_NDEBUG -O2 -s
rem set DEBUGFLAGS=-DDEBUG -g
set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP
@echo on
mkdir bin
erase /N bin\*.*
@ -128,4 +126,3 @@ gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -Zmt -Zmtd -o bin/physfs.dll bin/*.obj bin
gcc %CFLAGS% -o bin/test_physfs.obj test/test_physfs.c
gcc %DEBUGFLAGS% -Zomf -Zcrtdll -Zmt -Zmtd -o bin/test_physfs.exe bin/test_physfs.obj bin/physfs.lib bin/test_physfs.def