From 2e91de052b54c069bc2ff7fd536a9efab3c78841 Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 3 Oct 2024 03:22:19 +0000 Subject: [PATCH] update koakumafile git-svn-id: file:///raid/svn-personal/tewi/trunk@223 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Koakumafile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Koakumafile b/Koakumafile index e66c155..ba15eac 100644 --- a/Koakumafile +++ b/Koakumafile @@ -2,7 +2,18 @@ # vim: syntax=tcl proc run {project_name} { - RunCommand "cp config.h.tmpl config.h" + RunCommand "sed 's/undef NO_SSL/define NO_SSL/g' config.h.tmpl > config.h" RunCommand "make clean" - RunCommand "make" + if { "$project_name" == "Tewi-BCC" } { + set ::env(BORLAND) "C:/borland/bcc55" + RunCommand "make PLATFORM=bcc" + } elseif { "$project_name" == "Tewi-VC6" } { + RunCommand "make PLATFORM=vc6" + } elseif { "$project_name" == "Tewi-Watcom" } { + set ::env(WATCOM) "/usr/watcom" + set ::env(INCLUDE) "/usr/watcom/h" + RunCommand "make PLATFORM=watcom" + } else { + RunCommand "make" + } } -- 2.43.0