Debian Codegraph @

misc/oss-fuzz/sample_ninja_build

raw
1 # build.ninja
2 cc = clang
3 cflags = -Weverything
4
5 rule compile
6 command = $cc $cflags -c $in -o $out
7
8 rule link
9 command = $cc $in -o $out
10
11 build hello.o: compile hello.c
12 build hello: link hello.o
13
14 default hello