From a1cabeb1e11894ef75be4363e64e753c6d968941 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 4 Sep 2020 23:27:25 -0400 Subject: [PATCH] Move paths to build/install tools to mk/build.mk --- configure | 8 ++++++++ src/Makefile | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 6e8660d..a922a95 100755 --- a/configure +++ b/configure @@ -140,6 +140,14 @@ EOF CWFLAGS = -Wall COFLAGS = -O2 CFLAGS = $(CGFLAGS) $(CWFLAGS) $(COFLAGS) + +AR = $(CROSS)ar +RANLIB = $(CROSS)ranlib + +RM = /bin/rm +LN = /bin/ln +RMDIR = /bin/rmdir +INSTALL = /usr/bin/install EOF } diff --git a/src/Makefile b/src/Makefile index f1c3842..b167923 100644 --- a/src/Makefile +++ b/src/Makefile @@ -23,14 +23,6 @@ LIBNAME = patty HEADERS_BUILD = $(addprefix $(INCLUDE_PATH)/$(HEADER_SUBDIR)/, $(HEADERS)) -AR = $(CROSS)ar -RANLIB = $(CROSS)ranlib - -RM = /bin/rm -LN = /bin/ln -RMDIR = /bin/rmdir -INSTALL = /usr/bin/install - all: $(STATIC) $(SONAME_FULL) $(SONAME) $(SONAME_SHORT) $(STATIC): $(OBJS)