better makefile

This commit is contained in:
2025-07-15 22:05:41 -04:00
parent d480c7b475
commit 5948712048
+7 -2
View File
@@ -1,2 +1,7 @@
proto:
protoc --go_out=. --go_opt=paths=source_relative --go_opt=Mproto/gtfs-realtime.proto=github.com/cjdenio/uta-trax-api/proto proto/*.proto
proto: proto/schema.pb.go proto/gtfs-realtime.pb.go
proto/gtfs-realtime.pb.go: proto/gtfs-realtime.proto
protoc --go_out=. --go_opt=paths=source_relative --go_opt=Mproto/gtfs-realtime.proto=github.com/cjdenio/uta-trax-api/proto $<
proto/schema.pb.go: proto/schema.proto
protoc --go_out=. --go_opt=paths=source_relative $<