Makefile (363B)
1 .POSIX: 2 3 NAME = gitout 4 VERSION = 0.1 5 6 all: debug release 7 8 debug: 9 gn gen --args="is_debug=true" out/debug 10 ninja -C out/debug 11 12 release: 13 gn gen --args="is_debug=false" out/release 14 ninja -C out/release 15 16 test: 17 gn gen --args="is_debug=true" out/debug 18 ninja -C out/debug ":gitout_tests" 19 out/debug/gitout_tests 20 21 clean: 22 rm -rf out 23 24 .PHONY: all debug release clean