]> Git repositories of Nishi - tewi.git/commitdiff
update koakumafile
authorNishi <nishi@nishi.boats>
Thu, 3 Oct 2024 03:22:19 +0000 (03:22 +0000)
committerNishi <nishi@nishi.boats>
Thu, 3 Oct 2024 03:22:19 +0000 (03:22 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@223 8739d7e6-ffea-ec47-b151-bdff447c6205

Koakumafile

index e66c15559045c55b4abe948d5df94309db54e92d..ba15eac3b2f2f0fe5e262192123a5e8058e3d57b 100644 (file)
@@ -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"
+       }
 }