makefile: use grouped target for loaders
That way make will only run it once for the whole group.
This commit is contained in:
parent
b54691e436
commit
4201564503
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ SRHT_PATH?=/usr/lib/python3.10/site-packages/srht
|
|||
MODULE=todosrht/
|
||||
include ${SRHT_PATH}/Makefile
|
||||
|
||||
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