Results 1 to 6 of 6
Hello, I've been trying to figure out how to use make and makefile to compile and link some .cpp/.h. All i seem to find on google says to read the ...
- 09-20-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 24
makefile
Hello, I've been trying to figure out how to use make and makefile to compile and link some .cpp/.h. All i seem to find on google says to read the README for the software. But this is my own created c++ project. Im just looking for a simple makefile for my own .cpp/.h files( about 20 total).
I have tried using 2 different makefile "examples" as a template, but neither worked. I am getting error saying "file1.cpp: no newline character at end of file". or something to that degree.
- 09-20-2009 #2Just Joined!
- Join Date
- Sep 2009
- Posts
- 24
well i figured out why im getting the error no newline.
can anyone point to a good make/makefile tutorial?
- 09-21-2009 #3
- 09-21-2009 #4Just Joined!
- Join Date
- Sep 2009
- Posts
- 24
turns out its quite simple
, somehow one of my files got deleted
caused me lots-o mysterious problems. i got it workin now
- 09-22-2009 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
obviously your cpp file is not correct for compiling,check it ,modify and make again
- 09-22-2009 #6
In the morning I was reading about Autoconf and Automake, and found this Link :
http://www.lugod.org/presentations/a.../autotools.pdf
HTH- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote