Not giving away the software for free would be a good start. There are many ways to charge people for software.