From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: updating command-line variables in make? Date: 12 Oct 1997 14:14:36 GMT Organization: Oxford University, England Lines: 21 Message-ID: <61qm0c$auh$4@news.ox.ac.uk> References: <34403F98 DOT 699BFBAF AT physics DOT ubc DOT ca> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rik Blok (blok AT physics DOT ubc DOT ca) wrote: : P.S. Is it possible to copy an implicit rule? For example, is there a : generic way to copy the rule for %:%.o to %.exe:%.o? I don't know any way of copying the rule, short of grabbing it out of make's database. IIRC it's something like: %.exe: %.o $(LINK.o) $(LDLIBS) $(LOADLIBES) -o $@ $^ Alternatively, you could just use something like: %.exe: % coff2exe % (both typed off the top of my head; I don't have djgpp here). -- George Foot Merton College, Oxford