Makefile 624 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. CMD=./chromatic_texture_generator.py --chroma 800 --rhythm 8
  2. notes: clean a.ly
  3. dev:
  4. python3 -i -c 'exec(open("load.py").read())'
  5. # save:
  6. # mv *.pdf ~/mres_thesis/bryn_music_program/misc/
  7. # mv *.midi ~/mres_thesis/bryn_music_program/misc/
  8. # mv *.ly ~/mres_thesis/bryn_music_program/misc/
  9. clean:
  10. rm -f *.pdf
  11. rm -f *.midi
  12. rm -f *.ly
  13. again: clean a.pdf
  14. a.ly: chromatic_texture_generator.py
  15. $(CMD) > a.ly.tmp
  16. mv a.ly.tmp a.ly
  17. debug:
  18. # pdb3 $(CMD)
  19. python3 -m pdb $(CMD)
  20. a.pdf: a.ly
  21. lilypond a.ly
  22. view: a.pdf
  23. zathura a.pdf
  24. listen: a.midi
  25. mscore a.midi
  26. edit:
  27. $EDITOR chromatic_texture_generator.py a.ly