subdirs in system 5 make?

Cliff Spencer cspencer at lexicon.com
Thu Apr 6 06:18:01 AEST 1989


Does anyone have a way to create *implicit* rules for system 5 make 
(or BSD make for that matter) that utilize subdirectories? I want
to do the following:
	file.c creates asm/file.asm
	obj/file.obj depends on asm/file.asm
	target depends on obj/$(objects)

I have had no luck getting the $(VAR:s1=s2) substitutions to work to this end.
						-cliff

-- 
Cliff Spencer
{harvard,linus,ima,bbn,m2c}!spdcc!lexicon!cspencer
cspencer at lexicon.com



More information about the Comp.unix.questions mailing list