Make: Nothing to be done

cplusplus

#1

Hi, I am a new online student this is my first time coding.
I am having problem to compile this code

#include <stdio.h>

int main(void)
{
    printf("hello, world\n");
}

is showing me this error.

elmafo:~/workspace $ make hello-1
make: Nothing to be done f

can somebody help me please.

Thanks.

Elmafo


#2

Is this part of CS50 course ? If so, you should post your questions on their reddit or facebook page.


#3

I think you are missing some parameters in your include statement. What are you trying to include?


#4

Hi,

I think you need to paste in the Makefile too, and if you don’t have a makefile, use the Run command to run this C/C++ file, and not the make command.

Regards,
​Mutahhir