Warm dust and aromatic bands as quantitative probes of star-formation activity