Removed all target and fixed .PHONY.
This commit is contained in:
parent
39e872256b
commit
812d374354
3
Makefile
3
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user