MU-VMS Archives

July 1997

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Randy Kaelber <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Thu, 17 Jul 1997 15:06:12 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Kent Covert ([log in to unmask]) wrote:
> We can look into it.  The problem I've seen with this is that lots of
> Makefiles seem to have Unix command embedded in them.  These usually aren't
> portable to VMS.  If you can write a Makefile that doesn't contain any of
> these, it might work.
 
Which is why you're supposed to define your commands in the Makefile like
this:
 
RM=/bin/rm
 
and then use:
 
        ${RM} foo
 
in the Makefile. Sadly, though, not everyone does this. I even know better
and sometimes slip up and hard-code a command.
 
--
   Randy Kaelber:  [log in to unmask]  http://avian.dars.muohio.edu/~randy/
        DARS Programmer/Analyst, Miami University, Oxford, OH 45056 USA
         ------------------------------------------------------------
             "Suppose you were an idiot. And suppose you were
          a member of Congress. But I repeat myself." - Mark Twain

ATOM RSS1 RSS2