delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/21/21:39:00

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199605220119.AA212347948@relay1.geis.com>
Date: Wed, 22 May 96 01:28:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: 'make' problem

Reply to message 1063951    from ELIZ AT IS DOT ELTA. on 05/21/96  8:13AM


>It is quite standard.  I even think POSIX specifies it, but I don't have
>a POSIX reference handy to check.  Anyway, many Make programs support it,
>although if you want to also support Make programs from DOS compilers,
>you might consider staying away from static pattern rules.

I don't quite understand.  Why wouldn't "%.o : %.cpp" work under DOS?
Make is quite adept at picking out the right parts of the filename as far as
I can tell.  I would think that a static pattern rule would give more trouble
under Unix than DOS because of the less restrictive filename rules.

John

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019