cd %~dp0
echo Compilation of HelloWorld

cd ..
if not exist nomotools.exe call build.bat

nomotools -parse ./helloworld/HelloWorld.uni
nomotools -link ./helloworld/HelloWorld.uni
nomotools -parse ./helloworld/HelloWorld.lnk
nomotools -encode ./helloworld/HelloWorld.lnk
nomotools -parse ./helloworld/HelloWorld.cod
nomotools -compile ./helloworld/HelloWorld.cod

cd helloworld

rm -f HelloWorld.lnk
rm -f HelloWorld.cod
