1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Amiga install files by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3786 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2007-08-19 12:12:33 +00:00
parent 57c2e0cc0b
commit a84080febe
2 changed files with 42 additions and 0 deletions

View File

@ -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.")

BIN
packages/amiga/Install_cc65.info Executable file

Binary file not shown.