15 lines
130 B
Makefile
15 lines
130 B
Makefile
|
.POSIX:
|
||
|
|
||
|
GO=go
|
||
|
#GOFLAGS=-mod=vendor
|
||
|
|
||
|
all: web
|
||
|
|
||
|
PHONY:
|
||
|
|
||
|
web: main.go PHONY
|
||
|
$(GO) build $(GOFLAGS) -o web main.go
|
||
|
|
||
|
run: web
|
||
|
./web
|