Compilable macro is :
-----> TriggerScan.cpp

>>>>> TO COMPILE WITH "ANT": enter the command "ant" from a terminal
in the this directory (src)
NB: it is required ant version >= 1.6.0

[... src]$ ant 

the result will be the executable file 

TriggerScan

in the directory Trigger/bin

NB: to compile correctly set the right paths in the initial part of
the file build.xml

NB: use the options "-h" or "--help" to known the input parameters 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<

>>>>> TO COMPILE WITH "MAKE": enter the command "make" from a terminal
      in the previous directory (Trigger)

[... Trigger]$ make

the result will be the executable file 

TriggerScan

in the directory Trigger/bin

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

if you want to install the executable in the PAMELA environmental
setup, you have to use the bash script install.sh

you try the command
[... Trigger]$ ./install.sh --help

to known how to use the script