Sign in
android
/
platform
/
external
/
swig
/
6ffc1dbf29ba98c4d8aa71ebc9b484e973fe1030
/
.
/
Examples
/
modula3
/
class
/
swig.tmpl
blob: e3e9bf178aad6e97c6baa3fa68e65f5e456c4f8e [
file
] [
log
] [
blame
]
readonly
proc cxx_source
(
X
)
is
local
cxxfile
=
X
&
".cxx"
local
objfile
=
X
&
".o"
%
exec
(
"echo $PWD"
)
if
stale
(
objfile
,
cxxfile
)
exec
(
"cd"
,
path
(),
"; g++ -I.. -c -o"
,
objfile
,
cxxfile
)
end
import_obj
(
X
)
%
unlink_file
(
path
()&
SL
&
objfile
)
end