You can protect it with a copyright. But you can't copyright machine generated code.
All computer code is machine generated.
All computer code is machine generated.