Significant progress in control design has been achieved by the use of nonsmooth and semiinfinite mathematical programming techniques. In contrast with LMI or BMI approaches, these new methods avoid the use of Lyapunov variables, which gives them two major strategic advances over matrix inequality methods. Due to the much smaller number of decision variables, they do not suffer from size restrictions, and they are much easier to adapt to structural constraints on the controller. In this paper, we further develop this line and address both frequency- and time-domain design specifications by means of a nonsmooth algorithm general enough to handle both cases. Numerical experiments are presented for reliable or fault-tolerant control, and for time response shaping.