File:  [CSRG BSD Unix] / 43BSDReno / contrib / emacs-18.55 / src / recomp.com
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

$ ! VMS command file to recompile a .C file which needs recompilation.
$ ! This is a .C files that has no .OBJ file or that is newer
$ ! than the corresponding .OBJ file.  This file is self contained
$ ! and does not require you to do anything before running it.
$
$    file = f$search(f$parse(p1, ".C"), 1)
$    cmd = p2
$    if cmd .nes. "" then goto havcmd
$    if "''ccom'" .eqs. "" then @precomp
$    cmd = "ccom"
$havcmd:
$    name = f$parse(file,,,"NAME")
$    obj = name + ".OBJ"
$    if f$search(obj) .eqs. "" then goto docmd
$    if f$cvtime(f$file(file, "RDT")) .les. f$cvtime(f$file(obj, "RDT")) then -
	exit
$ docmd:
$    write sys$output "Compiling ''name'..."
$    'cmd' 'file'
$    purge /nolog 'obj'
$    write sys$output "---------------"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.