By condensation of 4-chloro-5-methylthieno[2,3-d]pyrimidine (I) with 2-(4-chlorophenyl)ethylamine (II) by means of diisopropylethylamine (DIEA) in hot DMF.