diff options
author | Paul Smith <psmith@gnu.org> | 2000-01-22 05:43:03 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2000-01-22 05:43:03 +0000 |
commit | 5577cdc2616262ae89c28cda49b5dd5449be472d (patch) | |
tree | 9e5b67f4754ce5a2d64bad43d28a7eaf093b6274 /makefile.com | |
parent | b7b83d6398e8e552dd1b9d70d18d7262753e03d4 (diff) | |
download | gunmake-5577cdc2616262ae89c28cda49b5dd5449be472d.tar.gz |
* Merge VMS patches by Hartmut Becker.
Diffstat (limited to 'makefile.com')
-rw-r--r-- | makefile.com | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/makefile.com b/makefile.com index f180df2..5a0f884 100644 --- a/makefile.com +++ b/makefile.com @@ -7,6 +7,13 @@ $! P2 = DEBUG will build an image with debug information $! $! In case of problems with the install you might contact me at $! zinser@decus.decus.de (preferred) or martin_zinser@exchange.de +$ +$! hb +$! But don't ask Martin Zinser about the lines, I added/changed. +$! In case of an error do some cleanup +$ on error then $ goto cleanup +$! in case somebody set up her/his own symbol for cc +$ set symbol/scope=(nolocal,noglobal) $! $! Look for the compiler used $! @@ -57,9 +64,16 @@ $ linkit: $ close optf $ if p1 .nes. "" then goto link_using_library $ link/exe=make make.opt/opt'lopt -$ exit +$ goto cleanup +$ $ link_using_library: $ link/exe=make make.opt/opt,sys$library:vaxcrtl/lib'lopt +$ +$ cleanup: +$ if f$trnlnm("SYS").nes."" then $ deassign sys +$ if f$trnlnm("OPTF").nes."" then $ close optf +$ if f$search("make.opt").nes."" then $ del make.opt;* +$ exit $! $ compileit : subroutine $ ploc = f$locate("]",p1) |