Commit ac4f48eeec00e473b96d8af703a31e692c640639

Steffen Jaeckel 2017-08-29T10:40:05

fix install make-target This fixes #84

diff --git a/makefile_include.mk b/makefile_include.mk
index 564a647..46302a5 100644
--- a/makefile_include.mk
+++ b/makefile_include.mk
@@ -11,16 +11,16 @@ VERSION_SO=1:1
 default: ${LIBNAME}
 
 # Compiler and Linker Names
-ifndef PREFIX
-  PREFIX=
+ifndef CROSS_COMPILE
+  CROSS_COMPILE=
 endif
 
 ifeq ($(CC),cc)
-  CC = $(PREFIX)gcc
+  CC = $(CROSS_COMPILE)gcc
 endif
-LD=$(PREFIX)ld
-AR=$(PREFIX)ar
-RANLIB=$(PREFIX)ranlib
+LD=$(CROSS_COMPILE)ld
+AR=$(CROSS_COMPILE)ar
+RANLIB=$(CROSS_COMPILE)ranlib
 
 ifndef MAKE
    MAKE=make