radiospiral_linux/Makefile

21 lines
370 B
Makefile
Raw Permalink 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 radioplayer.go bundle.go
$(GO) -o radiospiral $(GO_OPTIONS) main.go radioplayer.go bundle.go
2023-12-05 14:36:45 +01:00
# 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