Makefile 389 B

123456789101112131415161718
  1. all: testlz.bin testlz.cas
  2. %.lz: %
  3. dosbox -c 'mount c .' -c 'c:' -c 'comtoexe $< tmp.exe' -c 'lzexe tmp.exe' -c 'del tmp.old' -c 'exit'
  4. python extract_compressed.py TMP.EXE $@
  5. rm TMP.EXE
  6. testlz.raw: testlz.asm z80unlze.asm lorem_ip.txt.lz
  7. pasmo $< $@
  8. testlz.bin: testlz.raw
  9. python raw2bin.py $< $@ 0xA000
  10. testlz.cas: testlz.raw
  11. python raw2cas.py $< $@ TestLZ 0xA000
  12. .PHONY: all