15 lines
337 B
Makefile
15 lines
337 B
Makefile
# Copyright (C) 2023-2024 Umorpha Systems
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
bin: generate
|
|
go build -trimpath -o bin/ ./...
|
|
|
|
generate/files = COPYING.txt
|
|
COPYING.txt:
|
|
curl https://www.gnu.org/licenses/agpl-3.0.txt >$@
|
|
|
|
generate: $(generate/files)
|
|
generate-clean:
|
|
rm -f -- $(generate/files)
|
|
.PHONY: generate generate-clean
|