Files

21 lines
212 B
Makefile

.PHONY: all
all: setup build
.PHONY: setup
setup:
mkdir -p bin/
.PHONY: build
build:
go build -o bin/posti-dm .
.PHONY: run
run:
go run .
.PHONY: watch
watch:
find -name '*.go' | entr -r -s 'go run .'