compile 742 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. mkdir -p bin
  3. cd src
  4. echo -e "\e[1m\e[37mGenerating grammer2.5.inc\e[0m"
  5. python ../tools/jt.py jmptable.z80 grammer2.5.inc
  6. cp grammer2.5.inc ../docs/grammer2.5.inc
  7. #echo -e "\e[1m\e[37mAssembling Default Package\e[0m"
  8. #spasm grampkg.z80 ../bin/grampkg.8xv
  9. echo -e "\e[1m\e[37mAssembling App\e[0m"
  10. spasm grammer.z80 ../bin/grammer.8xk -I ../z80float/single
  11. # Check for an experimental package
  12. if [ ! -f "../bin/EXPRMNTL.8xv" ];then
  13. echo -e "\e[1m\e[37mAssembling Experimental Package\e[0m"
  14. spasm experimental/experimental.z80 ../bin/EXPRMNTL.8xv -I single
  15. fi
  16. # Check for the program launcher
  17. if [ ! -f "../bin/g250.8xp" ];then
  18. echo -e "\e[1m\e[37mAssembling Program Launcher\e[0m"
  19. spasm launch.z80 ../bin/g250.8xp
  20. fi