Possible Duplicate:
Is there a specific Xcode compiler flag that gets set when compiling for iPad?
I want to define same macros but different values depending on whether its ipad or iphone. For example, i want define THUMB_WIDTH for iphone is 40 but for ipad is 100. Is this possible? If possible, how to do?