Hey all. I was wondering, if I want to have two targets do the same thing in my makefile without duplicating, how would I go about this?
For example:
Cat:
$(CC) -o a.out
Feline:
$(CC) -o a.out
Thanks!
Cat Feline:
$(CC) -o a.out
You can list multiple targets as well as multiple dependencies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With