I want to use the bash timing variables in my makefile for example in my terminal I can do this and it works
 MY_TIME=$SECONDS 
 echo $MY_TIME
but when I write this on my makefile it does not work
how can I use these two lines in my make file?
this is what I'm doing
.PHONY: myProg
myProg:
      MY_TIME=$SECONDS 
      echo $MY_TIME
After Etan Reisner' answer
This is what I have now
.PHONY: myProg
 myProg:
        MY_TIME= date; echo $MY_TIME
but the result of my echo is an empty line, it does not look like it is storing the date
 
     
     
    