Sign in
fuchsia
/
third_party
/
swig
/
f3ba54c3bbc717cebb8716779aa676fa62d8b68c
/
.
/
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