Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!iuvax!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: problem with make suffix rules Message-ID: <13396@smoke.BRL.MIL> Date: 23 Jul 90 20:51:04 GMT References: <862@massey.ac.nz> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 19 In article <862@massey.ac.nz> ARaman@massey.ac.nz (A.V. Raman) writes: -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. No, the built-in .c: rule is used, not the .c.o: then .o: rules that your Makefile specified. What you should probably do is to quit trying to override the built-in rules and instead set CFLAGS= -What's more, when I don't have a Makefile at all, and type -`make program' (ucb) -make doesn't apply the default suffix rule to run -cc program.c -o program -Instead, it comes up with the same message as before. That's simply a difference in the behavior of the two versions of "make".