@echo off
call !makelib n
call !makelib f

tcc -mt -A- -G- -K -M- -N- -O -Z -a- -d -f- -k- -p- -r -u -v- -y- -w detect.c console.c detectn.lib
exe2bin detect.exe detect.com
del detect.exe

pkarc a d detect?.lib detect.com detect.c console.c detect.h console.h detect.txt
copy /b e:\exe\pksfx.pgm+d.arc detect11.exe
del d.arc

mkdir ..\distrib
mkdir ..\demo
mv detect*.exe ..\distrib
mv detect.com ..\demo
