29 lines
473 B
Makefile
29 lines
473 B
Makefile
program.tap: header.block body.block
|
|
cat header.block body.block > program.tap
|
|
|
|
header.block: header ttttt
|
|
./ttttt header header
|
|
|
|
header: header.asm body.block
|
|
pasmo header.asm headerlong
|
|
dd if=headerlong of=header bs=17 count=1
|
|
rm -f headerlong
|
|
|
|
body.block: body ttttt
|
|
./ttttt body data
|
|
|
|
body: remload.asm code.asm
|
|
pasmo remload.asm body
|
|
|
|
ttttt: ttttt.c
|
|
cc ttttt.c -o ttttt
|
|
|
|
clean:
|
|
rm -f *.tap
|
|
rm -f *.block
|
|
rm -f body
|
|
rm -f header
|
|
rm -f ttttt
|
|
|
|
.PHONY: clean
|