radiospiral_linux/Makefile

20 lines
340 B
Makefile

# Makefile for the RadioSpiral project
#
GO=go build
GO_OPTIONS=-buildmode=default
all: radiospiral
radiospiral: main.go bundle.go
$(GO) -o radiospiral $(GO_OPTIONS) main.go bundle.go
# It's a phony so we can always call it and regenerate the file
.PHONY: generate
generate:
go generate main.go
.PHONY: clean
clean:
rm radiospiral