From: CSBVAX::MRGATE!GG.SPY@ISUMVS@SMTP 12-APR-1988 21:47 To: ARISIA::EVERHART Subj: Re: Unix MAKEFILE equivalent on VMS Received: from CUNYVM.CUNY.EDU by KL.SRI.COM with TCP; Mon 11 Apr 88 07:27:59-PDT Received: from ISUMVS.BITNET by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with BSMTP id 2989; Mon, 11 Apr 88 10:16:55 EDT Date: Mon, 11 Apr 88 09:15:46 CDT To: From: "Dr. FrankenWylbur" Subject: Re: Unix MAKEFILE equivalent on VMS > From: Chandresh Padmanabhan > > Subject: Unix MAKEFILE equivalent on VMS > > I've been fooling around with the idea of a MAKEFILE eqvt on a VMS4.7 > system, without much luck. Except for recompiling and linking all source files > whenever I make a change to one, I haven't been able to find any RMS routines > etc. which will permit me to get the date of modification field of files, so > I can selectively recompile and link only un-updated files. Not that it > matters, I work mostly in F77 and recompiling and linking 10 or 15 pgxs' > each day gets to be a real proctological nuisance ! > > I'm pretty sure some VMS guru has come up with an equivalent; I'd > appreciate any info on how to do this, or a .COM for it. Thanks in advance ! > What you want to use (if you are using a .COM file) is the lexical functions f$file_attributes and f$cvtime... moddate = f$cvtime(f$file_attributes("xyz.for","RDT")) objdate = f$cvtime(f$file_attributes("xyz.obj","RDT")) if (moddate .gts. objdate) then .... !recompile xyz.for John Hascall Iowa State University Computation Center GGUUU@ISUMVS.BITNET GVJPH@ISUVAX.BITNET