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
|
||||
LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
|
||||
|
||||
all: web/*.pug.go ${TARGET}
|
||||
.PHONY: ${TARGET} install uninstall run
|
||||
.PHONY: run install uninstall clean
|
||||
|
||||
${TARGET}:
|
||||
go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go
|
||||
|
Loading…
Reference in New Issue
Block a user