[comp.unix.questions] subdirs in system 5 make?

cspencer@lexicon.com (Cliff Spencer) (04/06/89)

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@lexicon.com