certificate-api/Makefile

15 lines
229 B
Makefile

## Usage:
go_files := $(wildcard cmd/*.go)
path := $(shell pwd)
all: clean build
clean:
@-rm -rf ./build
build:
@-mkdir ./build
go build -v -ldflags="-s -w" -o build/certificateapi ${go_files}
@file build/certificateapi