FreeCalypso > hg > fc-sim-tools
changeset 16:53f8a1146a56
{simtool,uicc}/Makefile: INSTALL_PREFIX= override support
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Mar 2021 07:43:51 +0000 |
parents | b70d35f5476f |
children | 372ecc4aa2c4 |
files | simtool/Makefile uicc/Makefile |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/simtool/Makefile Sun Mar 14 07:41:09 2021 +0000 +++ b/simtool/Makefile Sun Mar 14 07:43:51 2021 +0000 @@ -11,7 +11,10 @@ smsp_erase.o smsp_restore.o smsp_set.o sstlist.o sstprog.o stktest.o \ telsum.o usersum.o writecmd.o writeops.o LIBS= ../libcommon/libcommon.a ../libutil/libutil.a -INSTBIN=/opt/freecalypso/bin + +INSTALL_PREFIX= /opt/freecalypso + +INSTBIN=${INSTALL_PREFIX}/bin all: ${PROG}
--- a/uicc/Makefile Sun Mar 14 07:41:09 2021 +0000 +++ b/uicc/Makefile Sun Mar 14 07:43:51 2021 +0000 @@ -5,7 +5,10 @@ OBJS= bfsearch.o cmdtab.o createfile.o dumpdir.o getresp.o hlread.o main.o \ pins.o readcmd.o readops.o select.o writecmd.o writeops.o LIBS= ../libcommon/libcommon.a ../libutil/libutil.a -INSTBIN=/opt/freecalypso/bin + +INSTALL_PREFIX= /opt/freecalypso + +INSTBIN=${INSTALL_PREFIX}/bin all: ${PROG}