nuclear@0: src = test.asm nuclear@0: obj = test.o nuclear@0: bin = test nuclear@0: img = test.gb nuclear@0: nuclear@0: $(img): $(bin) nuclear@0: cp $< $@ nuclear@0: rgbfix -v -p 0 $@ nuclear@0: nuclear@0: $(bin): $(obj) nuclear@0: rgblink -o $@ $(obj) nuclear@0: nuclear@0: %.o: %.asm nuclear@0: rgbasm -o $@ $< nuclear@0: nuclear@0: test.o: test.asm sin.inc logo.tiles logo.tilemap nuclear@0: nuclear@0: .PHONY: clean nuclear@0: clean: nuclear@0: rm -f $(obj) $(bin) $(img) nuclear@0: nuclear@1: .PHONY: run nuclear@1: run: $(img) nuclear@1: sameboy $< nuclear@1: nuclear@0: logo.tiles: logo.png nuclear@0: rgbgfx -T -u -o $@ $< nuclear@0: nuclear@1: sin.inc: gensine nuclear@0: ./gensine >$@ nuclear@4: nuclear@4: test2k.rom: $(img) nuclear@4: dd if=$< of=$@ bs=1 count=2048 nuclear@4: nuclear@4: .PHONY: program nuclear@4: program: test2k.rom nuclear@4: minipro -p 'AT28C16E @DIP24' -w $<