mirror of
https://github.com/fachat/xa65.git
synced 2024-10-20 07:24:09 +00:00
20 lines
466 B
Makefile
20 lines
466 B
Makefile
|
|
all: loader example test2 rom65
|
|
clean:
|
|
rm -f loader test2 example a.o65 rom65
|
|
|
|
loader: loader.a65 file.def
|
|
../../xa loader.a65 -o loader
|
|
|
|
example: test.a
|
|
../../xa -R test.a -o example
|
|
|
|
test2: test2.a
|
|
../../xa test2.a -o test2
|
|
|
|
rom65: test.a
|
|
# ugly!
|
|
# don't run if this system doesn't have bash
|
|
test -f /bin/bash || exit 0 && ( cd .. && ../mkrom.sh -O "-G" -S "-bd 1234" -R loader/rom65 loader/test.a loader/test.a ) && ( ../hextool -cmp=rom65.ok < rom65 )
|
|
|