1
0

Removed all target and fixed .PHONY.

This commit is contained in:
Alexander Andreev 2023-09-10 18:16:45 +04:00
parent 39e872256b
commit 812d374354
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -11,8 +11,7 @@ VERSION=23.34.0
FLAGS:=-buildmode=pie -modcacherw -mod=readonly -trimpath FLAGS:=-buildmode=pie -modcacherw -mod=readonly -trimpath
LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
all: web/*.pug.go ${TARGET} .PHONY: run install uninstall clean
.PHONY: ${TARGET} install uninstall run
${TARGET}: ${TARGET}:
go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go