certificate-api/Makefile

15 lines
223 B
Makefile
Raw Normal View History

2020-12-11 00:21:39 -05:00
## 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 certificateapi