aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorScott Beamer <sbeamer@ucsc.edu>2019-05-02 10:55:07 -0700
committerAndrew Waterman <andrew@sifive.com>2019-05-02 10:55:07 -0700
commitc6451cf437e6e47c87f69755e46a5a9e2c1962fb (patch)
tree27ea937271c8ba05a9f32c44849bacd5a09d0b0b /Makefile.in
parente75a8e857948e85629475e7a1dc747dcf10f1c63 (diff)
downloadriscv-isa-sim-c6451cf437e6e47c87f69755e46a5a9e2c1962fb.zip
riscv-isa-sim-c6451cf437e6e47c87f69755e46a5a9e2c1962fb.tar.gz
riscv-isa-sim-c6451cf437e6e47c87f69755e46a5a9e2c1962fb.tar.bz2
allow prefix to be overriden (#298)
so can be built for one place and installed in another
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index ee92e6e..6c18318 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,7 +50,7 @@ endif
# Installation directories
-prefix := @prefix@
+prefix ?= @prefix@
INSTALLDIR ?= $(DESTDIR)$(prefix)