c sample and refined make script