JPH0350628A - Make file generation method using source file - Google Patents

Make file generation method using source file

Info

Publication number
JPH0350628A
JPH0350628A JP1186742A JP18674289A JPH0350628A JP H0350628 A JPH0350628 A JP H0350628A JP 1186742 A JP1186742 A JP 1186742A JP 18674289 A JP18674289 A JP 18674289A JP H0350628 A JPH0350628 A JP H0350628A
Authority
JP
Japan
Prior art keywords
file
make
name
source file
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1186742A
Other languages
Japanese (ja)
Inventor
Hisao Yamashita
久夫 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1186742A priority Critical patent/JPH0350628A/en
Publication of JPH0350628A publication Critical patent/JPH0350628A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the error of designation and the omission of designation by using a source file so as to generate a make file at the time of generating it. CONSTITUTION:At the time of generating the make file, the name of the source file is designated and it is inputted to a source file analysis means 1. The means 1 reads the source file 3 by the name of the designated source file, and obtains the name of a corresponding header file in the file 3, transfers the name of the source file and the name of the header file to a make file generation means 2 and requests the generation of the make file. The means 2 outputs the name of the source file and the name of the header file, which the means 1 gives, to the make file 4. Thus, the error and omission of the designation of the name of the source file and the name of the header file are prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラムのファイル群の依存関係を記述す
るメイク・ファイルを作成するときのソースファイルを
利用したメイク・ファイル作成方式。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is a make file creation method that uses source files when creating a make file that describes the dependencies of a group of files in a program.

〔従来の技術〕[Conventional technology]

従来、プログラムを構成するファイル群の依存関係を記
述するメイク・ファイル(make file )を作
成する場合、利用者がソースファイル名とヘッダファイ
ル名との対応を指定して、メイク・ファイルを作成して
いた。
Conventionally, when creating a make file that describes the dependencies of a group of files that make up a program, the user specifies the correspondence between source file names and header file names and creates the make file. was.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメイク・ファイル作成方式は、利用者が
ソースファイル名とヘッダファイル名との対応を指定し
ていたため、指定ミスや指定もれがあるという欠点があ
った。
In the conventional make file creation method described above, the user specifies the correspondence between the source file name and the header file name, so there is a drawback that specification errors or omissions occur.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のソースファイルを利用したメイク・ファイル作
成方式は、利用者が指定したソースファイル名によりソ
ースファイルを読み込み、ソースファイル名とヘッダフ
ァイル名の対応を検出するソースファイル解析手段と、
前記ソースファイル解析手段より渡されたソースファイ
ル名とヘッダファイル名とをメイク・ファイルに出力す
るメイク・ファイル作成手段とを有している。
The make file creation method using a source file according to the present invention includes a source file analysis means that reads a source file according to a source file name specified by a user and detects a correspondence between a source file name and a header file name;
The make file creation means outputs the source file name and header file name passed from the source file analysis means to a make file.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

第1図のソースファイルを利用したメイク・ファイル作
成方式は、第1図に示すようソースファイル解析手段1
とメイク・ファイル作成手段2とから構成されている。
The make file creation method using the source file shown in FIG. 1 is as follows: source file analysis means 1
and a make file creation means 2.

次に、動作を説明する。Next, the operation will be explained.

利用者はメイク・ファイルを作成しようとするとき、ソ
ースファイル名を指定してソースファイル解析手段1に
入力する。ソースファイル解析手段1は指定されたソー
スファイル名により、ソースファイル3を読み込み、ソ
ースファイル3中の#INCLUDE文からソースファ
イル3に対応するヘッダファイル名を得て、メイク・フ
ァイル作成手段2にソースファイル名とヘッダファイル
名を渡し、メイク・ファイルの作成を要求する。
When a user wants to create a make file, he/she specifies a source file name and inputs it into the source file analysis means 1. The source file analysis means 1 reads the source file 3 according to the specified source file name, obtains the header file name corresponding to the source file 3 from the #INCLUDE statement in the source file 3, and sends the source file to the make file creation means 2. Pass the file name and header file name and request the creation of a make file.

メイク・ファイル作成手段2は、ソースファイル解析手
段1から渡されたソースファイル名とヘッダファイル名
をメイク・ファイル4に出力する。
The make file creation means 2 outputs the source file name and header file name passed from the source file analysis means 1 to the make file 4.

このように、メイク・ファイル4を作成しようとすると
き、ソースファイルと利用して作成することにより、ソ
ースファイル名とヘッダファイル名との指定ミスや指定
もれを防ぐことができる。
In this way, when creating the make file 4, by using it with the source file, it is possible to prevent mistakes or omissions in specifying the source file name and header file name.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明はメイク・ファイルを作成
しようとするとき、ソースファイルを利用してメイク・
ファイルを作成することにより、以下の効果がある。
As explained above, when creating a make file, the present invention utilizes a source file to create a make file.
Creating a file has the following effects.

(1)指定ミスがない。(1) There are no specification errors.

(2)指定もれがない。(2) There are no omissions in the specifications.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例の構成図である。 1・・・ソースファイル解析手段、2・・・メイク・フ
ァイル作成手段、3・・・ソースファイル、4・・・メ
イ ク ファイル。
FIG. 1 is a block diagram of an embodiment of the present invention. 1... Source file analysis means, 2... Make file creation means, 3... Source file, 4... Make file.

Claims (1)

【特許請求の範囲】[Claims] 利用者が指定したソースファイル名によりソースファイ
ルを読み込み、ソースファイル名とヘッダファイル名の
対応を検出するソースファイル解析手段と、前記ソース
ファイル解析手段より渡されたソースファイル名とヘッ
ダファイル名とをメイク・ファイルに出力するメイク・
ファイル作成手段とを有することを特徴とするソースフ
ァイルを利用したメイク・ファイル作成方式。
A source file analysis means that reads a source file according to a source file name specified by a user and detects a correspondence between the source file name and the header file name, and a source file analysis means that reads the source file name and the header file name passed from the source file analysis means. Make output to make file
A make file creation method using a source file, characterized in that it has a file creation means.
JP1186742A 1989-07-18 1989-07-18 Make file generation method using source file Pending JPH0350628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1186742A JPH0350628A (en) 1989-07-18 1989-07-18 Make file generation method using source file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1186742A JPH0350628A (en) 1989-07-18 1989-07-18 Make file generation method using source file

Publications (1)

Publication Number Publication Date
JPH0350628A true JPH0350628A (en) 1991-03-05

Family

ID=16193858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1186742A Pending JPH0350628A (en) 1989-07-18 1989-07-18 Make file generation method using source file

Country Status (1)

Country Link
JP (1) JPH0350628A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634591A (en) * 2018-12-29 2019-04-16 杭州迪普科技股份有限公司 A kind of document handling method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634591A (en) * 2018-12-29 2019-04-16 杭州迪普科技股份有限公司 A kind of document handling method and device
CN109634591B (en) * 2018-12-29 2022-03-01 杭州迪普科技股份有限公司 File processing method and device

Similar Documents

Publication Publication Date Title
JPH02165241A (en) File access system
JPH0350628A (en) Make file generation method using source file
JPH01315844A (en) File name dynamic adding system
JPH0589048A (en) Command processing system
JPS6115236A (en) Partial production of object list
JP2655608B2 (en) Program source copy processing method
JPH028943A (en) System for dynamically changing file name
JPH0212525A (en) Program editing and coupling device
JPH0236434A (en) System for correcting source program in compiler priority
JPH0367330A (en) Producing device for interactive design back-up system
JPH06175835A (en) Program synthesizer
JPS62241032A (en) Calling system for program parts
JPH06161730A (en) Data processor
JPH02294855A (en) Sub-file using right managing system
JPH09160762A (en) Program conversion system
JPS6165348A (en) Connection system for external device
JPS61220029A (en) Resource allocation system
JPH02249035A (en) Inter-module optimizing device
JP2000207213A (en) Generating device for distributed object execution environment
JPS63261433A (en) Task scheduler
JPH04116721A (en) System definition directive analysis system
JPS6386031A (en) Program producing device
KR970049611A (en) Agent development tools
JPH03121558A (en) Remote task execution controller
JPH02280228A (en) System for converting input data