# 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