ASM=tasm -85 all: obj/cpm22.bin dirs: mkdir -p obj mkdir -p isrc isrc/cpm22.asm: CPM22.ASM dirs cp CPM22.ASM isrc/cpm22.asm_ dos2unix isrc/cpm22.asm_ mv isrc/cpm22.asm_ isrc/cpm22.asm obj/cpm22.bin: isrc/cpm22.asm dirs $(ASM) -b -g3 isrc/cpm22.asm obj/cpm22.bin clean: rm -rf isrc rm -rf obj