Makefile 87 B

123456789
  1. .PHONY: run
  2. run: main
  3. ./$<
  4. main: *.go go.mod
  5. go build -o $@ .
  6. .PHONY: all
  7. all: main