vic20-xmas-demo/Makefile
2022-12-04 22:30:16 +01:00

17 lines
343 B
Makefile

.POSIX:
.PHONY: env
ASM=$(wildcard src/*asm)
xmasdemo.bin: env $(ASM) build/demo.raw
dasm src/main.asm -Isrc/ -f3 -T1 -sbuild/xmasdemo.prg.symbols.txt -obin/xmasdemo.bin
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
env:
mkdir -p {bin,build}