Click here to Skip to main content
15,898,752 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C++
#include <stdio.h>
#include <stdlib.h>



int main(void)

{
  printf("Hello World");
  

//($"PAUSE");
//return 0;


}


<br />
 C:\Dev-Cpp\Makefile.win [Build Error] n\make.exe: *** No rule to make target `all'.  Stop. 


Could someone please tell me what this error message means. This is a simple start up program and I'm not what's happening when I cocmpile and run this.
Posted
Updated 6-Apr-14 15:17pm
v2
Comments
[no name] 6-Apr-14 18:07pm    
http://www.google.com/search?q=No+rule+to+make+target

1 solution

Check your makefile...
http://mrbook.org/tutorials/make/[^]

If you're using an IDE, make sure it's either:
0. Auto-generating a makefile for you.
1. You're pointing it to the appropriate makefile.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900