make file adapted to use cabal