From 5cee758069a44bc8f656eeae054c19393b7381ee Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 19 Apr 2020 16:42:32 -0700 Subject: Add install target to Makefile --- configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 861f0c8..13e3254 100755 --- a/configure +++ b/configure @@ -5,12 +5,16 @@ fail() { exit 1 } +prefix=/usr/local +bindir='$(PREFIX)/bin' host= target= gcclibdir= for arg ; do case "$arg" in + --prefix=*) prefix=${arg#*=} ;; + --bindir=*) bindir=${arg#*=} ;; --host=*) host=${arg#*=} ;; --target=*) target=${arg#*=} ;; --with-cpp=*) DEFAULT_PREPROCESSOR=${arg#*=} ;; @@ -152,6 +156,8 @@ echo done printf "creating config.mk... " cat >config.mk <