To compile your application program, you can make use of the template makefile shown below. This is the makefile for the producer-consumer example. Change the variable YAPIROOT to the directory where you installed YAPI, and change the variable OBJS according to your sources.