ipam/Makefile

15 lines
216 B
Makefile
Raw Normal View History

2023-03-15 16:43:20 +01:00
OUTPUT_FOLDER=bin
FILENAME=ipam
all: build
build:
go build -o ${OUTPUT_FOLDER}/${FILENAME} main.go
install:
cp ${OUTPUT_FOLDER}/${FILENAME} /usr/local/bin/${FILENAME}
clean:
go clean
rm -r ${OUTPUT_FOLDER}/