How to generate correct Makefile for pascal installation?