Help needed with Makefile rules

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Fri May 17 18:53:26 AEST 1985


> ... can one define a rule to go from .o to something with no suffix?

Sure, for example:

.o:
	$(CC) -o $@ $< -lm



More information about the Comp.unix mailing list