• Marco Hinz's avatar
    Makefile: add PREFIX variable · c13f72ee
    Marco Hinz authored
    We use a Makefile which in turn uses cmake. If we wanted to set the install
    prefix for cmake, we had to do this so far:
    
      make CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/tmp/nvim"
    
    That's long and hard to remember. Following the conventions of other Makefiles,
    this now works as well and is equivalent:
    
      make PREFIX=/tmp/nvim
    c13f72ee
local.mk.example 2.69 KB