JPH0350628A - Make file generation method using source file - Google Patents
Make file generation method using source fileInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 6
- 238000010586 diagram Methods 0.000 description 2
Abstract
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.
従来、プログラムを構成するファイル群の依存関係を記
述するメイク・ファイル(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.
上述した従来のメイク・ファイル作成方式は、利用者が
ソースファイル名とヘッダファイル名との対応を指定し
ていたため、指定ミスや指定もれがあるという欠点があ
った。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.
本発明のソースファイルを利用したメイク・ファイル作
成方式は、利用者が指定したソースファイル名によりソ
ースファイルを読み込み、ソースファイル名とヘッダフ
ァイル名の対応を検出するソースファイル解析手段と、
前記ソースファイル解析手段より渡されたソースファイ
ル名とヘッダファイル名とをメイク・ファイルに出力す
るメイク・ファイル作成手段とを有している。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.
次に、本発明の実施例について図面を参照して説明する
。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.
以上説明したように、本発明はメイク・ファイルを作成
しようとするとき、ソースファイルを利用してメイク・
ファイルを作成することにより、以下の効果がある。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.
第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)
ルを読み込み、ソースファイル名とヘッダファイル名の
対応を検出するソースファイル解析手段と、前記ソース
ファイル解析手段より渡されたソースファイル名とヘッ
ダファイル名とをメイク・ファイルに出力するメイク・
ファイル作成手段とを有することを特徴とするソースフ
ァイルを利用したメイク・ファイル作成方式。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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109634591A (en) * | 2018-12-29 | 2019-04-16 | 杭州迪普科技股份有限公司 | A kind of document handling method and device |
-
1989
- 1989-07-18 JP JP1186742A patent/JPH0350628A/en active Pending
Cited By (2)
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 |