I'm working on compiling a game using mingw32, but I keep running into an error that says 'make: *** No targets. Stop.' I've double-checked everything, including my Makefile and the paths for my .cpp scripts, and they all seem correct. I even used the ls -l command to ensure that the Makefile is detected. Can someone help me figure out what I'm doing wrong?
2 Answers
Just a thought—why are you using mingw? It seems a bit odd for this kind of project. Just curious if there's a specific reason behind that choice!
It sounds like your Makefile might be missing a target. When you run the 'make' command without specifying a target, it looks for the first one in the Makefile. If it doesn't find any, you'll see that error. The basic format you need is:
target: prerequisites
step1
step2. Make sure you have at least one defined target, and check your syntax carefully! Also, ensure there are no path issues if you are using any generated paths in that Makefile.
Do you want me to send you the Makefile script for review?

I actually need to compile it for 32-bit systems, which is why mingw is my go-to.