mirror of
https://github.com/smartykit/apple1.git
synced 2024-11-16 18:07:13 +00:00
4f19769784
SmartyKit 1 ROM assembler (asm) source and make file for cc65. Easy-to-use development tool to write your own software for SmartyKLit 1 (you need just run make in your Terminal) and learn how ROM is organized.
15 lines
371 B
Makefile
15 lines
371 B
Makefile
all: welcome compile
|
|
|
|
welcome:
|
|
@echo "SmartyKit 1: 6502 assembler & C-compiler to ROM (.bin)"
|
|
|
|
compile:
|
|
@echo "Assembling and linking..."
|
|
ca65 -l ROM_listing.asm SmartyKit1_ROM.asm
|
|
ld65 -m ROM.map -o SmartyKit1_ROM.bin SmartyKit1_ROM.o -C apple1.cfg
|
|
|
|
ld65 -o SmartyKit1_ROM_symon.bin SmartyKit1_ROM.o -C symon.cfg
|
|
|
|
clean:
|
|
@echo "Cleaning up..."
|
|
rm SmartyKit1_ROM.o
|