Maybe try with the Makefile that code with the code?

https://github.com/PaulStoffregen/cores/blob/master/teensy3/Makefile