Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!husc6!diamond.bbn.com!rsalz From: rsalz@Diamond.BBN.COM (Rich Salz) Newsgroups: comp.unix.questions Subject: Re: Help w/BSD 4.2 Makefile Message-ID: <6628@diamond.BBN.COM> Date: Wed, 17-Jun-87 11:30:46 EDT Article-I.D.: diamond.6628 Posted: Wed Jun 17 11:30:46 1987 Date-Received: Sun, 21-Jun-87 09:47:43 EDT References: <463@slovax.UUCP> Reply-To: rsalz@Diamond.BBN.COM (Rich Salz) Distribution: na Organization: BBN Laboratories, Inc., Cambridge, MA Lines: 21 Summary: No "single-suffix" rules in V7, BSD make In comp.unix.questions (<463@slovax.UUCP>), flak@slovax.UUCP (Dan Flak) writes: > >What I am attempting to do, is take a file with a ".r" suffix and >run it through a process to convert it into a file with no suffix You can't. The concept of single-suffix rules were added by AT&T in SystemV (version 1, even, I believe). The code to do it is fairly simple -- a couple-dozen lines added to the doname() routine. Don't ask me for them; if you think about it, it'd be illegal for me to post a diff. If you want to do that in BSD, then you either have to port a System V make (and buy source, if you don't already have that). The AT&T Toolchest sells a "new make" described in the Portland Usenix proceedings that does this, and more. But be warned: nmake isn't the make we all know and love: it's a much more complicated beastie. [ Yow, what's my punctuation ratio? ] /r$ -- Rich $alz "Anger is an energy" Cronus Project, BBN Laboratories rsalz@pineapple.bbn.com