@echo off
echo --------------- Creating NEWFUNC library for Win32 version ---------------

del newfunc.lib > NUL
del *.err > NUL

wmake -h -f makewin
wlib -q newfunc.lib +newfunc.obj
wlib -q newfunc.lib +bitstrm.obj
wlib -q newfunc.lib +cpu.obj
wlib -q newfunc.lib +dll_load.obj
wlib -q newfunc.lib +dpmi.obj
wlib -q newfunc.lib +drivehnd.obj
wlib -q newfunc.lib +errorhnd.obj
wlib -q newfunc.lib +filehand.obj
wlib -q newfunc.lib +fpu.obj
wlib -q newfunc.lib +keyboard.obj
wlib -q newfunc.lib +memory.obj
wlib -q newfunc.lib +mixed.obj
wlib -q newfunc.lib +string.obj
wlib -q newfunc.lib +textdisp.obj
wlib -q newfunc.lib +time.obj
wlib -q newfunc.lib +threads.obj
wlib -q newfunc.lib +timer.obj

del *.obj > NUL
del *.bak > NUL
