Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: problem with make suffix rules Message-ID: <3675@auspex.auspex.com> Date: 17 Jul 90 18:00:21 GMT References: <862@massey.ac.nz> Organization: Auspex Systems, Santa Clara Lines: 32 >In the ucb universe, Some UNIX flavors have "ucb" and "att" "universes". Others don't. You might want to indicate which UNIX flavor you have (although in this case the answer might be guessable without it). >When I say >`make program' for example, > >make says >"Don't know how to make program" > >Shouldn't it try to apply the second suffix rule to generate program.o and >then the first one to generate program from program.o ? Probably not in the UCB universe, given that the first rule uses a feature of "make" that first crawled into a "make" available outside AT&T in System III. The V7 "make" that comes with 4.xBSD doesn't support single-suffix rules like .o: cc -o $@ $< misc.a > >In the att universe, >make tries > cc -O program.c -o program >instead of > cc -c program.c >which is what the suffix rule tells it to do. while the System V "make" that comes with, well, System V does.