centos make: *** No targets specified and no makefile found. Stop.
时间: 2023-09-10 15:04:40 浏览: 85
The error message you are encountering is a common make error when there is no makefile present in the current directory, or you have not specified any targets to build.
To resolve this issue, you can try the following steps:
1. Ensure that you are in the correct directory where your project or makefile is located. You can use the `cd` command to navigate to the appropriate directory.
2. Check if there is a makefile available in the current directory. Make sure that the makefile is named either "Makefile" or "makefile" (case-sensitive). If there is no makefile, you may need to obtain or create one for your project.
3. If you have a makefile in the current directory, make sure that it is correctly named and formatted. Double-check for any typos or syntax errors within the makefile.
If you continue to encounter issues, please provide more details about your project and any specific commands or steps you have taken so far.