DevC++ (che è un IDE e non un compilatore) provvede automaticamente a compilare e a linkare insieme tutti i file sorgente che aggiungi al progetto.