I have never done this but if what FFTPACK provides is a library (*.a) file and perhaps and include (*.h) file, then you should add these to the make file that builds your executable. Place the library (full path name) after the $(OBJECTS) under the feap: target. The include file will be needed to build the routines where calling any FFTPACK routines. If you build those routines by placing them on the OBJECTS line in the makefile, then you should edit the .f,.f90,.c targets to include the path to the folder containing the *.h files by adding additional -I terms.