>"dolphin" <jd*******@gmail.comwrote in news:1176684813.213582.98550
>@l77g2000hsb.googlegroups.com:
>Hi! I am learing makefile recently. ...
[makefile snipped]
>when I type make command in shell. Only main.o file is created. The file
main did not be created. What is the problem? I am in redhat 9.0
You want comp.unix.programmer, or a linux-specific newsgroup (although
the former will suffice here).
In article <Xn*********************************@216.196.97.13 1>,
R Smith <rh*******@comcast.netwrote:
>Off topic, off schmopic, who cares? You need help.
Well, "dolphin" may care, since you have given him an incorrect
answer. :-)
>Try this:
cc -o example main.c
Although that can be made to work, it is not what he should be
doing in this case.
>You can't compile a .o file.
Depending on the system, you *can*, depending on just what one
means by "compile" ... and RedHat Linux is one of those where you
can, and he has done the right things to make the given .o file
"compile-able".
For more information, try comp.unix.programmer.
--
In-Real-Life: Chris Torek, Wind River Systems
Salt Lake City, UT, USA (40°39.22'N, 111°50.29'W) +1 801 277 2603
email: forget about it
http://web.torek.net/torek/index.html
Reading email is like searching for food in the garbage, thanks to spammers.