Hi all,
I've been programming for a few years now but I'd like to try and expand my experience a little so I thought I'd take a look at the source for some open source projects. I use Nano (the text editor) a lot, so I started there. I have the source downloaded (and I also built it via ./configure && make, builds and runs just fine).
What I'd like to do is edit and build it in XCode. I find that I enjoy development in an IDE because I'm not switching between open windows so much, along with the graphical interface to GDB and code completion. So I created a project and added Nano's source but it fails to compile.
I read somewhere that you have to take every step of the makefile and create a target for that step; is there an easy way to do this, or some tutorial somewhere, or any good advice that people could point me to?
Thanks for the help! For now I'll use TextEdit to view the source just so I can start figuring things out
-Craig
I've been programming for a few years now but I'd like to try and expand my experience a little so I thought I'd take a look at the source for some open source projects. I use Nano (the text editor) a lot, so I started there. I have the source downloaded (and I also built it via ./configure && make, builds and runs just fine).
What I'd like to do is edit and build it in XCode. I find that I enjoy development in an IDE because I'm not switching between open windows so much, along with the graphical interface to GDB and code completion. So I created a project and added Nano's source but it fails to compile.
I read somewhere that you have to take every step of the makefile and create a target for that step; is there an easy way to do this, or some tutorial somewhere, or any good advice that people could point me to?
Thanks for the help! For now I'll use TextEdit to view the source just so I can start figuring things out
-Craig