Makefile Help

Hello,

I have to write makefile which supports specific targets and I have to do the following things:

  • A variable T determines whether the function is executed 1 or 2
  • A variable N determines which size will be executed

e.g. it must be read from the command line "make 1500" where 1 means that gets run function 1 with the size 500th

Could someone explain to me how I should write the exact since I have very very little experience with creating the Makefile.

thanks in advance