I am new to make. Suppose I have a makefile which has atarget, the target will kick off different compile command base on the version: From version 1.x.x to version 3.x.x, it will kick off command 1. While version 4.x.x or above, it will kick off command 2.
run-%: %.txt
<if %.txt is in between 1.x.x and 3.x.x, kick off command 1 with %.txt as input>
<else kick off command 2 with %x.txt as input>
User will run it like this:
make run-2.2.0
Does make provide some sort of pattern matching?