mirror of
https://github.com/garrettsworkshop/GWRAM.SYSTEM.git
synced 2024-11-18 14:05:45 +00:00
25 lines
511 B
Makefile
25 lines
511 B
Makefile
all: ram2e140.po
|
|
|
|
ram2e140.po: bin/ram2e.sys
|
|
cp prodos140.po bin/ram2e140.po
|
|
cat bin/ram2e.sys | java -jar ./AppleCommander-ac-1.6.0.jar -p bin/ram2e140.po ram2e.system sys 0x2000
|
|
|
|
bin:
|
|
@mkdir bin
|
|
|
|
bin/ram2e.sys: bin obj/ram2e.o
|
|
ld65 -o bin/ram2e.sys obj/ram2e.o -C apple2enh-system.cfg --lib apple2enh.lib -D __EXEHDR__=0
|
|
|
|
obj:
|
|
@mkdir obj
|
|
|
|
obj/ram2e.o: obj ram2e.c
|
|
cc65 ram2e.c -O --cpu 6502 -t apple2enh -o obj/ram2e.s
|
|
ca65 obj/ram2e.s -o obj/ram2e.o
|
|
|
|
ram2e.c:
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -fr bin obj
|