diff options
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,17 @@ # prtmib — site/toolchain knobs. Edit this, not the Makefile. # +# Install: make install +# Windows: %USERPROFILE%\.local\bin +# Linux: /usr/local/bin +# Override: make PREFIX=... install + +ifeq ($(OS),Windows_NT) +PREFIX ?= $(USERPROFILE)/.local +else +PREFIX ?= /usr/local +endif +BINDIR ?= $(PREFIX)/bin + # Windows (this machine): MinGW-w64 gcc. LLVM clang in PATH targets MSVC # and needs the VS developer prompt; MinGW does not. # as/ld live next to gcc; export PATH so the driver finds them. |
