Requirements:
- Place these files in a folder
- OpenWatcom v2 extracted into a folder parallel to it, specifically open-watcom-2_0-c-win-x64 was used during testing
- Modify PROG.C to taste (in the example, it just launchs the appropriate jSH binary for the current OS)
- Run
build-combinedwhich builds for DOS, builds for Win32, and then links them all together - (Optional) Bundle with JSH.EXE, CWSDPMI.EXE, JSH-W32.EXE, and a .JS file and you've got an executable that will run a JavaScript program on either DOS or Win32!