makefile: use grouped target for loaders

That way make will only run it once for the whole group.
This commit is contained in:
Simon Ser 2024-01-31 11:53:43 +01:00
parent a785075776
commit 18d92014bf
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ include ${SRHT_PATH}/Makefile
all: api gitsrht-dispatch gitsrht-keys gitsrht-shell gitsrht-update-hook
api/loaders/*_gen.go: api/loaders/generate.go api/loaders/gen go.sum
api/loaders/*_gen.go &: api/loaders/generate.go api/loaders/gen go.sum
cd api && go generate ./loaders
api/graph/api/generated.go: api/graph/schema.graphqls api/graph/generate.go go.sum