Mail Archives: djgpp/1997/10/14/16:16:47
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 <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -