zx_asmtest
annotate Makefile @ 3:6da763b8592c
better ship sprite
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 20 Jan 2016 07:20:36 +0200 |
parents | 34ec0f897aa3 |
children |
rev | line source |
---|---|
nuclear@1 | 1 name = test |
nuclear@1 | 2 tap = $(name).tap |
nuclear@1 | 3 wav = $(name).wav |
nuclear@0 | 4 |
nuclear@0 | 5 ASFLAGS = --alocal |
nuclear@0 | 6 |
nuclear@0 | 7 $(tap): test.asm |
nuclear@0 | 8 pasmo $(ASFLAGS) --tapbas $< $@ |
nuclear@0 | 9 |
nuclear@1 | 10 $(name).bin: test.asm |
nuclear@1 | 11 pasmo $(ASFLAGS) $< $@ |
nuclear@1 | 12 |
nuclear@1 | 13 $(wav): $(tap) |
nuclear@1 | 14 tape2wav $< $@ |
nuclear@1 | 15 |
nuclear@1 | 16 .PHONY: clean |
nuclear@1 | 17 clean: |
nuclear@1 | 18 rm -f $(tap) $(wav) $(name).bin |
nuclear@1 | 19 |
nuclear@1 | 20 .PHONY: wav |
nuclear@1 | 21 wav: $(name).wav |
nuclear@1 | 22 |
nuclear@1 | 23 .PHONY: play |
nuclear@1 | 24 play: $(name).wav |
nuclear@1 | 25 mpv --no-video $< |
nuclear@1 | 26 |
nuclear@0 | 27 .PHONY: run |
nuclear@0 | 28 run: $(tap) |
nuclear@0 | 29 fuse-sdl $(tap) |