| 1 | # 001-single-file-hello/001.hopen.pl | ||
| 2 | |||
| 3 | 1 | ▶ | use language 'C'; # uses <toolset>::C, and makes `C` an alias for it. |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | # The "language" package is synthesized by App::hopen::HopenFileKit. | ||
| 5 | |||
| 6 | 0 | on check => {}; # Nothing to do during the Check phase | |
| 7 | |||
| 8 | 0 | $Build | |
| 9 | ->H::files('hello.c', -name=>'FilesHello') # H is automatically loaded | ||
| 10 | ->C::compile(-name=>'CompileHello') | ||
| 11 | ->C::link('hello', -name=>'LinkHello') | ||
| 12 | ->default_goal; | ||