I would not create a PHONY target for lib. We just need the prod PHONY target to depend on app-prod/lib/lib.js.