how to link a programm whith several functions under PhAB?

hi, I was able ti link a programm whith other functions by creating a static library thanks to the terminal(thx mezek for your tutorial :wink: ). Now this programm is debugged, I would like to be able to call it by simply clicking on a widget under PhAB. I tried to link this programm to the widget and to copy all the related functions(.c, .o and .h) in the interface’s folder, but it didn’t work :unamused:,as it didn’t link to the functions. So is there a way to call the executable which works in a new programm ? How should I proceed?
thx

system()