Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!necis!encore!sue From: sue@encore.UUCP (Sue LoVerso) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Strange makefile construct Message-ID: <1942@encore.UUCP> Date: Tue, 15-Sep-87 11:57:17 EDT Article-I.D.: encore.1942 Posted: Tue Sep 15 11:57:17 1987 Date-Received: Thu, 17-Sep-87 04:11:27 EDT References: <1162@nrcvax.UUCP> <4624@nsc.nsc.com> Reply-To: sue@encore.UUCP (Sue LoVerso) Organization: Encore Computer Corp, Marlboro, MA Lines: 31 Xref: mnetor comp.unix.questions:4085 comp.unix.wizards:4248 In article <4624@nsc.nsc.com> woolsey@nsc.UUCP (Jeff Woolsey) writes: >All I need now is something that turns > >FILES = one two three four > >into > > $(CC) $(CFLAGS) one.c two.c three.c four.c > On a Multimax, running Mach: Script started on Tue Sep 15 11:48:27 1987 multimax >> src.test 27 >> cat makefile FILES= one two three four all: $(CC) $(CFLAGS) $(FILES:=.c) multimax >> src.test 28 >> /usr/cs/bin/make -n cc one.c two.c three.c four.c multimax >> src.test 29 >> exit Script ended on Tue Sep 15 11:49:14 1987 -- Susan J. LoVerso Encore Computer Corp. sue@multimax.arpa encore!sue