smartbridge/Makefile

15 lines
313 B
Makefile

default: all
all: smartbridge
requirements:
go mod download
smartbridge: cmd/smartbridge/*.go
go build -o $@ $^
smartbridge-static: cmd/smartbridge/*.go
CGO_ENABLED=0 go build -ldflags="-w -s" -o smartbridge $^
.PHONY: container
container: cmd/smartbridge/*.go
podman build . -t feldspaten.org/smartbridge