Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!husc6!spdcc!lexicon!cspencer From: cspencer@lexicon.com (Cliff Spencer) Newsgroups: comp.unix.questions Subject: subdirs in system 5 make? Message-ID: <407@lexicon.com> Date: 5 Apr 89 20:18:01 GMT Reply-To: cspencer@lexicon.UUCP (Cliff Spencer) Organization: Lexicon Inc. Waltham, MA Lines: 15 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