diff options
author | B. Watson <urchlay@slackware.uk> | 2025-04-29 05:03:09 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-04-29 05:03:09 -0400 |
commit | efc924ac9a62c65d32c8e11875bf5a1d7088a1f8 (patch) | |
tree | 19e49998fcb7ecdbe289ba4344ba0def098de142 /Makefile | |
parent | 705f19cae38eb3e6a7e434979ec7a89dc8a1c732 (diff) | |
download | atari8-self-relocator-efc924ac9a62c65d32c8e11875bf5a1d7088a1f8.tar.gz |
mkreloc.c: added (will replace mkrelocxex.pl).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 32 |
1 files changed, 27 insertions, 5 deletions
@@ -1,19 +1,41 @@ -all: reloc.atr reloc25.atr +all: reloc.atr reloc25.atr native.atr reloc25.atr: reloc.atr cp dos25_4drives.atr reloc25.atr axe -w autorun.sys reloc25.atr -reloc.atr: reloc.xex hello40.xex hello41.xex mkrelocxex.pl autorun.sys +reloc.atr: reloc.xex hello40.xex hello41.xex autorun.sys cp dos_20s.atr reloc.atr axe -w autorun.sys reloc.atr -autorun.sys: reloc.xex hello40.xex hello41.xex - ./mkrelocxex.pl hello40.xex hello41.xex autorun.sys +native.atr: mkreloc.xex reloc.xex autorun.sys + cp dos_20s.atr native.atr + axe -w lo.xex native.atr + axe -w hi.xex native.atr + axe -w reloc.xex native.atr + axe -w mkreloc.xex native.atr + +autorun.sys: reloc.xex hello40.xex hello41.xex mkreloc + cp hello40.xex lo.xex + cp hello41.xex hi.xex + ./mkreloc reloc.xex: reloc.s mkrelocxex.pl cl65 -t none -o reloc.xex reloc.s +mkreloc.xex: mkreloc.c + cl65 -t atari -o mkreloc.xex mkreloc.c + +#reloc.atr: reloc.xex hello40.xex hello41.xex mkrelocxex.pl autorun.sys +# cp dos_20s.atr reloc.atr +# axe -w autorun.sys reloc.atr +# +#autorun.sys: reloc.xex hello40.xex hello41.xex +# ./mkrelocxex.pl hello40.xex hello41.xex autorun.sys +# +#reloc.xex: reloc.s mkrelocxex.pl +# cl65 -t none -o reloc.xex reloc.s + hello40.xex: hello.s cl65 -t none -o hello40.xex --asm-define start_addr=0x4000 hello.s @@ -21,4 +43,4 @@ hello41.xex: hello.s cl65 -t none -o hello41.xex --asm-define start_addr=0x4100 hello.s clean: - rm -f reloc.atr hello40.xex hello41.xex reloc.xex *.o + rm -f reloc.atr hello40.xex hello41.xex reloc.xex mkreloc mkreloc.xex native.atr reloc25.atr *.o |