gcc = gcc cflags = -Wall ldflags = -lgmp incdir = -I../include rule cc command = $gcc $cflags $incdir $i -c $in -o $out $ldflags build cbwls.o: cc cbwls.c rule version command = echo $ninja_required_version build version: phony echo $ninja_required_version