Subversion Repositories Tewi

Rev

Rev 225 | Rev 228 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
210 nishi 1
# $Id: Koakumafile 227 2024-10-03 03:25:51Z nishi $
2
# vim: syntax=tcl
3
 
4
proc run {project_name} {
225 nishi 5
	exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
227 nishi 6
	set ::env(DISPLAY) ":0"
211 nishi 7
	RunCommand "make clean"
223 nishi 8
	if { "$project_name" == "Tewi-BCC" } {
9
		set ::env(BORLAND) "C:/borland/bcc55"
10
		RunCommand "make PLATFORM=bcc"
11
	} elseif { "$project_name" == "Tewi-VC6" } {
12
		RunCommand "make PLATFORM=vc6"
13
	} elseif { "$project_name" == "Tewi-Watcom" } {
14
		set ::env(WATCOM) "/usr/watcom"
15
		set ::env(INCLUDE) "/usr/watcom/h"
225 nishi 16
		set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
223 nishi 17
		RunCommand "make PLATFORM=watcom"
18
	} else {
19
		RunCommand "make"
20
	}
210 nishi 21
}