radiospiral_linux/Makefile

21 lines
340 B
Makefile
Raw Normal View History

2023-12-05 14:36:45 +01:00
# 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