http://cod2gen.googlepages.com/prag_20080415.zip
There is a README.txt file included that you should check out before using the program. There is now also a very simple GUI. For CoD4, you should be able to generate, compile, and link a map all from right here.
