Have a good weekend.

Literal

Good weekend [object-を].

A fragment sentence — idiomatic set phrase with the verb dropped (implicit お過ごしください, 'please spend [a good weekend]'). Sentence fragments for parting wishes are standard in both Japanese and English.