2022-12-04 00:00:17 +00:00
|
|
|
.POSIX:
|
|
|
|
|
|
|
|
.PHONY: env
|
|
|
|
|
|
|
|
ASM=$(wildcard src/*asm)
|
|
|
|
|
2022-12-04 19:43:52 +00:00
|
|
|
vic20term.bin: env $(ASM) build/demo.raw
|
2022-12-04 00:00:17 +00:00
|
|
|
dasm src/main.asm -Isrc/ -f3 -T1 -sbuild/vic20term.prg.symbols.txt -obin/vic20term.bin
|
|
|
|
|
2022-12-04 19:43:52 +00:00
|
|
|
build/demo.raw: env src/demo.bas
|
|
|
|
petcat -w2 -l 1001 -o build/demo.prg -- src/demo.bas
|
|
|
|
dd if=build/demo.prg of=build/demo.raw bs=1 skip=2
|
|
|
|
|
2022-12-04 00:00:17 +00:00
|
|
|
env:
|
|
|
|
mkdir -p {bin,build}
|
|
|
|
|