If you use $(TARGET_DEVICE) this shouldn't be needed.