vic20-xmas-demo/Makefile

17 lines
343 B
Makefile
Raw Normal View History

2022-12-04 00:00:17 +00:00
.POSIX:
.PHONY: env
ASM=$(wildcard src/*asm)
2022-12-04 21:30:16 +00:00
xmasdemo.bin: env $(ASM) build/demo.raw
dasm src/main.asm -Isrc/ -f3 -T1 -sbuild/xmasdemo.prg.symbols.txt -obin/xmasdemo.bin
2022-12-04 00:00:17 +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}