First, I'd try a newer version of Ubuntu, your wireless may have a driver by now, and it might "just work".
Second, open up the makefile and change those parts as it directs. For instance, find the part that says "MODE =" and make sure it says STA. Or find, "HAS_WPA_SUPPLICANT=" and make sure it's a "y" there. Also, make sure you the kernel source installed, you might have to tell the make file where the include file is. But I'd try a newer version of linux first, your usb wireless adapter might already work.
Good luck, let us know how it went.