It could be nicer, but any C files that need to be compiled to an object file can now just be added to a variable (with the complete path) without writing a new rule. I combined two variables for simplicity, but I see now that it may not be exactly the best (?). Let me know!
It could be nicer, but any C files that need to be compiled to an object file can now just be added to a variable (with the complete path) without writing a new rule. I combined two variables for simplicity, but I see now that it may not be exactly the best (?). Let me know!