./configure --program-prefix=/usr
make
make install
But, the problem is this only installs the executable file in /usr/bin, rather than the source files !!!
After installation, did you get anything like
libaudacity.a in /usr/lib ?
and a folder named audacity in /usr/include, which contains all the required header files to program using audacity?
No, but it installed everything necessary to run Audacity.
If you want to keep a copy of the source code, you can move it to anywhere you like as it is only used for creating the program files, after which it is not required for running the application.
Yes, I know the code are of no use to run the executable code. I’m now programming with audio staffs, I just wanna take part of audacity to simplify my programming. I need those header files and libraries to link into my own program.