Makefile file generation method and device, equipment and medium
A file generation and file technology, applied in the file system, program file, file/folder operation, etc., can solve the problems of reducing the efficiency of Makefile file generation, complicated and complicated Makefile syntax, writing errors, etc., so as to reduce human participation and improve generation Efficiency, avoid generating wrong effects
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2020-10-30
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the technical field of software project development, and more specifically, relates to a Makefile generation method, device, equipment and computer-readable storage medium. Background technique
[0002] Makefile is a standard general-purpose file used to describe the compilation and linking rules of all code source files of the entire software project, and it is used in almost all software projects. The Makefile contains which source files need to be compiled, which source files do not need to be compiled, which source files need to be compiled first, which source files need to be compiled later, which source files need to be rebuilt, etc. All links related to source file compilation can be Described in the Makefile file.
[0003] At present, most of the Makefiles are implemented by manual writing. However, because the Makefile syntax is cumbersome and complex, and for medium and large software projects, the number o...
Examples
Embodiment Construction
[0044] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
[0045] see figure 1 , which shows a flow chart of a Makefile generation method provided in the embodiment of the present application, a Makefile generation method provided in the embodiment of the present application may include:
[0046] S11: Create a bulid.mk text file in a folder storing source files using a preset syntax format; wherein, the source file corresponds to a software project, and the bulid.mk text file may include a target set.
[0047] During the development of a sof...