From a84080febe4bffb7382c763e756d185c3e812646 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 19 Aug 2007 12:12:33 +0000 Subject: [PATCH] Amiga install files by Stefan Haubenthal. git-svn-id: svn://svn.cc65.org/cc65/trunk@3786 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- packages/amiga/Install_cc65 | 42 +++++++++++++++++++++++++++++++ packages/amiga/Install_cc65.info | Bin 0 -> 1212 bytes 2 files changed, 42 insertions(+) create mode 100644 packages/amiga/Install_cc65 create mode 100755 packages/amiga/Install_cc65.info diff --git a/packages/amiga/Install_cc65 b/packages/amiga/Install_cc65 new file mode 100644 index 000000000..ff677d91d --- /dev/null +++ b/packages/amiga/Install_cc65 @@ -0,0 +1,42 @@ +; $VER: Install_cc65 0.9 (Jul 9 2007) © Stefan Haubenthal + +(set #help-bin "Choose location of archiver, assembler, compiler, compiler driver, disassembler, resource compiler, linker and object dumper.") +(set #help-inc "Choose location of ANSI and target platform headers. The new directory is called 'include'.") +(set #help-lib "Choose location of runtime objects and target platform libraries. The new directory is called 'lib'.") + +(copyfiles + (source "//src/") + (dest + (set #dir-bin (askdir (prompt "Copy binaries (should be part of execution path)") (help #help-bin) (default @default-dest))) + (choices "ar65/ar65" "ca65/ca65" "cc65/cc65" "cl65/cl65" "da65/da65" "grc/grc" "ld65/ld65" "od65/od65") + ) +) + +(complete 25) +(copyfiles + (source "//include/") + (dest + (set #dir-inc (tackon (set #dir-inc0 (askdir (prompt "Copy headers (directory will be created)") (help #help-inc) (default @default-dest))) "include")) + (all) + ) +) + +(complete 50) +(copyfiles + (source "//libsrc/") + (dest + (set #dir-lib (tackon (askdir (prompt "Copy libraries (directory will be created)") (help #help-lib) (default #dir-inc0)) "lib")) + (pattern "#?.(lib|o)") + ) +) + +(complete 75) +(run "setenv CC65_INC SAVE" #dir-inc (confirm) (prompt "Set environment variable for headers?") (help "CC65_INC will be saved in 'ENVARC:'.")) +(complete 90) +(run "setenv CC65_LIB SAVE" #dir-lib (confirm) (prompt "Set environment variable for libraries?") (help "CC65_LIB will be saved in 'ENVARC:'".)) +(run "setenv CC65_INC" #dir-inc) +(run "setenv CC65_LIB" #dir-lib) +(run "resident cc" (tackon #dir-bin "cl65")) + +(complete 100) +(message "The cross-compiler is now ready, just type 'cc -h' in a shell.") diff --git a/packages/amiga/Install_cc65.info b/packages/amiga/Install_cc65.info new file mode 100755 index 0000000000000000000000000000000000000000..2a0f4b4d0ae857893ee47e386817017a9c20c2bc GIT binary patch literal 1212 zcmbu7&ubGw6vw~YS+hYZiMQ${d-B>|DqczqB!XZ=s0O?l2_A%Ei+YlR0|}v}|4H*t z6!Z`9*yD3(3wySB>Z?P!NgTy2wnz4O{{ji zleijil-!#6MQC`L{|Fd)C?p$ z@4#?WDZ7rO?~X>Luh76sU#>kN{Wsp(o$;>u?-S)W%8i2!B$ch44tZTB>Xp-7rmcd0 zdTIbd_37?a^d*m4u9dvnG^dKQsrMy1Gl@o4`Z^$!8vu?^iAnm-VFJzQw-9%m)e3rb ziMa1feU@u|o|4uIU9zB!_R&qXA@yDxLaL1u%kolfFeUU=ChZQdBom@N#E*uW*F(^T zTLHFJ5f^9)I8<%8B}7)W;TB=Io6NF=TO-wmGxnZPW*q2yP6&G8YYp093ff=_+R&)) zfg5VW&uE$F=4Z5}v`1Da4eaA_PW^%k-`;VaXZc(*ec<0Ts9)3u(RJFeg*M7U|EG=H wZ{L0R_H*VFFUP`7vjFt=yckR_10Ry|8Nz50HXbB5&!@I literal 0 HcmV?d00001 -- 2.39.5