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

Pending Publication Date: 2020-10-30
SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[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 of Makefiles is large, the manual writing method will reduce the cost of Makefiles. generation efficiency and are prone to writing errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Makefile file generation method and device, equipment and medium
  • Makefile file generation method and device, equipment and medium
  • Makefile file generation method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a Makefile file generation method and device, equipment and a computer readable storage medium. The method comprises the steps of creating a bulid.mk text file in a folder storing a source file by using a preset grammar format; creating a macro configuration file and a general configuration file; analyzing the bulid.mk text file in combination with the macro configuration file and the general configuration file to obtain a target file and compiling information of the target file; and generating a Makefile file corresponding to the software project. The invention discloses the technical scheme. The Makefile file is automatically generated by creating a bulid.mk text file, creating a macro configuration file and a universal configuration file and analyzing the bulid.mk text file in combination with the macro configuration file and the universal configuration file. Therefore, the generation efficiency and the generation accuracy of the Makefile file are improved.

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...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F8/73G06F16/16
CPCG06F8/41G06F8/73G06F16/16
Inventor 刘文涛吴睿振张辉沈欣舞
Owner SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products