gnu make tutorial

Kurt Wall kwall
Mon May 17 11:59:25 PDT 2004


In a 0.5K blaze of typing glory, M.W. Chang wrote:
> After reading the manual, I have another quesiton:
> 
> this is the new way:
> 
> program.o : program.prg
> %.prg : %.o
> <tab>gharbour $<
> 
> I tried to translate the rule using the old way:
> 
> .prg.o:
> <tab>gharbour $<
> 
> and didn't work. It reported this error:
> 
> gcc: program.o: No such file or directory
> 
> DO you happen to know why? Something with implicit rule?

Please post the complete makefile. It's hard to debug them without
seeing them.

Kurt
-- 
Armadillo:
	To provide weapons to a Spanish pickle


More information about the Linux-users mailing list