makefile: use grouped target for loaders
That way make will only run it once for the whole group.
This commit is contained in:
parent
a785075776
commit
18d92014bf
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue