github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/test/c_hdep/test.toml (about) 1 name = "Check using the D attribute to include C .d files" 2 3 [flags] 4 5 knitfile = "Knitfile" 6 ncpu = 1 7 hash = false 8 9 [[builds]] 10 11 args = ["clean"] 12 output = """\ 13 rm -f *.o *.d 14 """ 15 16 [[builds]] 17 18 args = ["foo.o"] 19 output = """\ 20 gcc -MMD -c foo.c -o foo.o 21 """ 22 23 [[builds]] 24 25 args = ["foo.o"] 26 output = "" 27 error = "'foo.o': nothing to be done" 28 29 [[builds]] 30 31 args = ["touch"] 32 output = """\ 33 sleep 0.01 34 touch foo.h 35 """ 36 37 [[builds]] 38 39 args = ["foo.o"] 40 output = """\ 41 gcc -MMD -c foo.c -o foo.o 42 """