github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/test/rulefile/Knitfile (about) 1 local ok, dep = pcall(rulefile, "foo.d") 2 if not ok then 3 dep = nil 4 end 5 6 return b{ 7 $ %.o: %.c 8 gcc -MMD -c $input -o $output 9 $ all:V: foo.o 10 $ clean:VB: 11 rm -f *.o *.d 12 $ touch:VB: 13 sleep 0.01 14 touch foo.h 15 dep 16 }