Re: [opensuse] need help with simple Makefile - no rule to make target (huh?)
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 01 Nov 2010 23:35:54 -0500
On 11/01/2010 11:13 PM, Carlos E. R. wrote:
On Monday, 2010-11-01 at 23:04 -0500, David C. Rankin wrote:
tst_isolv.o : tst_isolv.c isolv_state.h
$(CC) -c tst_isolv.c
I'm late for bed and too sleepy, I can easily be wrong. After a quick compare
with one simple makefile of mine, I think you have an unneeded space before the
colon... Dunno. :-?
Huh? Why is it looking for a target to make tst_isolv.c'? Why doesn't it
just do what I told it to and use 'gcc -c tst_isolv.c'?
I saw that error in my first makefiles, too, years ago, but I don't remember why
it was. If it is as simple as the space... tell me :-)
-- Cheers,
Carlos E. R.
(from 11.2 x86_64 "Emerald" at Telcontar)
Ah... you be sleepy my friend :p
http://www.gnu.org/software/make/manual/make.html#Simple-Makefile
Unless the GNU make manual is wrong, the extra space is fine. I removed the
additional space before the colon anyway - no change. Go get some rest. This
will certainly wait until Carlos is well rested :-)
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- References:
- [opensuse] need help with simple Makefile - no rule to make target (huh?)
- From: David C. Rankin
- Re: [opensuse] need help with simple Makefile - no rule to make target (huh?)
- From: Carlos E. R.
- [opensuse] need help with simple Makefile - no rule to make target (huh?)
- Prev by Date: Re: [opensuse] need help with simple Makefile - no rule to make target (huh?)
- Next by Date: Re: Fwd: [opensuse] Any samba guru around?
- Previous by thread: Re: [opensuse] need help with simple Makefile - no rule to make target (huh?)
- Next by thread: Re: [opensuse] need help with simple Makefile - no rule to make target (huh?)
- Index(es):
Relevant Pages
|