github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/test/sub_build/Knitfile (about)

     1  foo = include("libfoo/build.knit")
     2  
     3  return b{
     4      $ %.o: %.c
     5          cc -c $input -o $output
     6      $ prog: f1.o f2.o f3.o libfoo/libfoo.a
     7          cc $input -o $output
     8      $ clean:VB:
     9          knit :all -t clean
    10      foo
    11  }