2015-09-29 14:14:10 +00:00
|
|
|
JAVA = java
|
|
|
|
AC = /Applications/AppleCommander.app/Contents/Resources/Java/AppleCommander.jar
|
|
|
|
TEMPLATE = ../shared/template.po
|
|
|
|
VIRTUAL2 = /Applications/Virtual\ \]\[/Virtual\ \]\[.app/Contents/MacOS/Virtual\ \]\[
|
|
|
|
|
|
|
|
all:
|
|
|
|
@echo "Please select a target."
|
|
|
|
|
2015-09-29 14:58:55 +00:00
|
|
|
ilen-test: ilen-test.bin
|
|
|
|
|
2015-09-29 14:14:10 +00:00
|
|
|
ilen-test.bin: ilen-test.asm
|
|
|
|
cl65 -o ilen-test.bin -t none --start-addr 0x2000 -l ilen-test.asm
|
|
|
|
cp $(TEMPLATE) ilen-test.po
|
|
|
|
$(JAVA) -jar $(AC) -p ilen-test.po ilen.test BIN 0x2000 < ilen-test.bin
|
|
|
|
osascript ilen-test.scpt.txt "$(PWD)/ilen-test.po"
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.bin *.lst *.o
|
|
|
|
find . -name "*.po" -not -name "template.po" -print0 | xargs -0 rm -f
|