[Delphi] 簡単なMakefileのサンプル
[Delphi] 簡単なMakefileのサンプル
このページのタグ:[Delphi]
Delphi用のシンプルなMakefileのサンプル

#  Delphi用の簡単なMakefile
#

#  コンパイルオプション
DCC = dcc32
DFLAGS = -CG -$O+

all: sample.exe

#  ユニットのコンパイル
form.dcu: form.pas form.dfm
    $(DCC) $(DFLAGS) form.pas

#  EXEの生成
sample.exe: sample.dpr sample.res form.dcu
    $(DCC) $(DFLAGS) sample.dpr

#  中間ファイルの削除
clean:
    del form.dcu
    del sample.exe

登録日 :2010-02-28
最終更新日 :2010-02-28
このページのタグ:[Delphi]