fix makefile
parent
b3daeecbd9
commit
550e20370b
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue