Re: Help on Makefile
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 10:49:43 +1200
Freeze wrote:
Hi, Dear group,The file doesn't end in a newline? Try adding one.
I am trying to compile some c++ files in unix. I got problems in
Makefile. The Makefile is like:
file: file.o test.o
g++ -o file file.o test.o
file.o: file.cpp
g++ -c file.cpp
test.o: test.cpp
g++ -c test.cpp
It keeps saying that:
mksh: Warning: newline is not last character in file Makefile
What could be the problem? Thank you!
--
Ian Collins.
.
- Follow-Ups:
- Re: Help on Makefile
- From: Freeze
- Re: Help on Makefile
- References:
- Help on Makefile
- From: Freeze
- Help on Makefile
- Prev by Date: Truss output - semget analysis
- Next by Date: Re: T2000 query temperature
- Previous by thread: Re: Help on Makefile
- Next by thread: Re: Help on Makefile
- Index(es):
Relevant Pages
|