solved Makefile problems with pages