Makefile 473 B

12345678910111213141516171819202122232425262728
  1. python2 := python
  2. rpython := $(python2) ~/opt/pypy/rpython/bin/rpython --batch
  3. zex0: z80.py
  4. $(rpython) -O0 --gc=none zextests.py
  5. zex1: z80.py
  6. $(rpython) -O1 --gc=none zextests.py
  7. zex2: z80.py
  8. $(rpython) -O2 --gc=none zextests.py
  9. zex3: z80.py
  10. $(rpython) -O3 --gc=none zextests.py
  11. z80.py: z80th.py z80bh.py
  12. cat z80th.py > z80.py
  13. cat z80bh.py >> z80.py
  14. z80bh.py: z80gen.py
  15. $(python2) ./z80gen.py -o $@
  16. clean:
  17. -rm *.pyc
  18. -rm z80bh.py
  19. -rm z80.py
  20. -rm zextests-c