github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/examples/c_with_hdep/Knitfile (about) 1 local depsdir = ".deps" 2 3 return b{ 4 $ all:V: foo.o bar.o 5 $ $depsdir: 6 mkdir -p $depsdir 7 $ %.o:D[$depsdir/%.d]: %.c $depsdir[I] 8 gcc -MMD -MF $depsdir/$match.d -c $input -o $output 9 $ clean:VB: 10 rm -f *.o *.d 11 }