Coupons that only apply to specific products

Is there any way to create a coupon that calculates the order discount based on only specific products (while ignoring the others)?