"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\cdjpeg.c
@rem "D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\ckconfig.c
@rem "D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\djpeg.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\example.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jaricom.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcapimin.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcapistd.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcarith.c 
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jccoefct.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jccolor.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdarith.c 
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcdctmgr.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jchuff.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcinit.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcmainct.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcmarker.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcmaster.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcomapi.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcparam.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcprepct.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jcsample.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jctrans.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdapimin.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdapistd.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdatadst.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdatasrc.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdcoefct.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdcolor.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdct.h
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jddctmgr.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jddctmgr.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdhuff.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdinput.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdmainct.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdmarker.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdmaster.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdmerge.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdpostct.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdsample.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jdtrans.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jerror.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jfdctflt.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jfdctflt.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jfdctfst.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jfdctint.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jidctflt.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jidctfst.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jidctint.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jmemmgr.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jmemname.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jmemnobs.c
@rem "D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jpegtran.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jquant1.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jquant2.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jutils.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\jutils.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdbmp.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdcolmap.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdgif.c
@rem "D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdjpgcom.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdppm.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdppm.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdrle.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdswitch.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\rdtarga.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\transupp.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\wrbmp.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\wrgif.c
@rem "D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\wrjpgcom.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\wrppm.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\wrrle.c
"D:\Program Files\Borland\CBuilder4\Bin\bcc32.exe"  -c -O2 ..\wrtarga.c

ls *.obj >objects.txt

copy "D:\Program Files\Borland\CBuilder4\Bin\tlib.exe" tlib.exe
tlib.exe libjpeg.lib @objects.txt
del tlib.exe


