-fopenmp -pthread and other compiler options has been added to the netbeans project configuration file and hence to the generated Makefile