I have a C code and I when I compiled it as just a single file it did .But now I want to make a project and when I created the main.c with the same code I am getting the following error.

Makefile.win:29: *** multiple target patterns
Build error.

Can anyone help me solving this?Any C or C++ code I am trying to compile in the project I am getting the same error.
My project type is console app.I am using DevCpp 4.9.9.2 in windows
And when say "compile current file" it is getting compiled but when i say run it shows an error "project file not compiled"

Post content of makefile:29

I now solved the problem...basically had a linker error.

how did ya solve this problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.