blob: b390a3c2100bbda81a34291333cf212ada9c2a61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
BIN := term-clock
all: build
.PHONY: run
run: build
./$(BIN)
.PHONY: build
build: $(BIN)
$(BIN): main.go
go build -o $(BIN)
.PHONY: fmt
fmt:
go fmt
.PHONY: clean
clean:
go clean
|