fix makefile

master
Matthew 2020-12-18 20:29:01 -05:00
parent b3daeecbd9
commit 550e20370b
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
commands := $(wildcard .*.go)
#commands := $(wildcard .*.go)
all: build
build:
@GO111Module=on go build -v -ldflags="-s -w" -buildmode=pie -o csctl ${commands}
@GO111Module=on go build -v -ldflags="-s -w" -buildmode=pie -o csctl main.go
@sudo chmod 2751 ./csctl
@file ./csctl