makefile for both versions