Makefile (580B)
1 all: bin examples doc 2 3 examples: profile session helloworld validate intro 4 5 bin: 6 mkdir -p build 7 go build -o build/interactive ./dev/interactive 8 go build -o build/gendata ./dev/gendata 9 go build -o build/asm ./dev/asm 10 go build -o build/disasm ./dev/disasm 11 12 profile: 13 make -C examples/profile 14 15 session: 16 make -C examples/session 17 18 helloworld: 19 make -C examples/session 20 21 validate: 22 make -C examples/validate 23 24 longmenu: 25 make -C examples/longmenu 26 27 intro: 28 make -C examples/intro 29 30 doc: 31 make -C doc 32 33 cov: 34 go test -cover ./... -coverprofile=cover.out 35 go tool cover -html=cover.out