Use make rules to reduce repetition