As there is more and more reusable code being shared as static libraries for Ndless programs, the latest update of the Ndless SDK (r604) can use a directory called .ndless/ found in ${USERPROFILE} (C:/Users/<Your Account> on Windows), automatically created by nspire-gcc and nspire-ld.

Just drop the header file (.h) and the archive file (.a) of  the libraries your programs depend on in .ndless/include and .ndless/lib to use them. This avoids any migration when updating the Ndless SDK or hard-coded paths in your Makefile.

Hackspire describes how to set this up in more details. Make the TI-Nspire native development experience even better, share your code as libraries!