2
0

compile.bat 709 B

12345678910111213141516171819202122232425262728
  1. @echo off
  2. if exist spasm.exe (
  3. echo "Starting Compile..."
  4. ) else (
  5. echo "Opening readme..."
  6. start "" https://github.com/Zeda/Grammer2/blob/master/Readme.md
  7. exit
  8. )
  9. cd src
  10. echo "Generating grammer2.5.inc"
  11. python ..\tools\jt.py jmptable.z80 grammer2.5.inc
  12. copy /Y grammer2.5.inc ..\docs\grammer2.5.inc
  13. echo "Assembling Default Package"
  14. ..\spasm.exe grampkg.z80 ..\bin\grampkg.8xv
  15. echo "Assembling App"
  16. ..\spasm.exe grammer.z80 ..\bin\grammer.8xk -I ..\z80float\single
  17. rem Check for an experimental package
  18. if exist experimental\experimental.z80 (
  19. echo "Assembling Experimental Package"
  20. ..\spasm.exe experimental\experimental.z80 ..\bin\EXPRMNTL.8xv -I single
  21. )
  22. cd..