Welcome! Log In Create A New Profile

Advanced

Problem compiling new project with devkitpro

Posted by Cornii 
Problem compiling new project with devkitpro
February 15, 2009 11:26PM
Okay, I'm brand new to Wii coding. I just installed devkitpro and compiled the "Hello World" example which turned out fine. However, when I try to compile an original project, I get the error:

"make": *** No targets specified and no makefile found. Stop.

I even tried replicating the "Hello World" example by cutting and pasting the C file and Makefile, but I still get the same error. I have the two folders "source" and "include" and the make file in the root of the project tree. I must be missing something really simple, but I can't seem to find it...
Re: Problem compiling new project with devkitpro
February 15, 2009 11:38PM
You are running make in the same directory as the makefile right? Also, the file should be Makefile, with the M capitalized and no file extension. If not, you can always do make -f makefilename although it's easiest to just always use the name Makefile.
Re: Problem compiling new project with devkitpro
February 16, 2009 12:07AM
Oh yes - "same directory." I made a stupid mistake and started my new project in a different folder from the one with the C file and Makefile. Thanks for mentioning that! It's working fine now. Thank you!
Sorry, only registered users may post in this forum.

Click here to login