From d23458ef67f8faea068ac5fac7b19143c2ce6ce6 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 26 Sep 2015 23:38:09 +0200 Subject: util-src/Makefile: Use variables for install binary and target directory --- util-src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util-src') diff --git a/util-src/Makefile b/util-src/Makefile index 1f092b1e..d99c9515 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -11,6 +11,9 @@ CXX?=g++ LD?=gcc CFLAGS+=-ggdb +INSTALL_DATA=install -m644 +TARGET?=../util/ + ALL=encodings.so hashes.so net.so pposix.so signal.so table.so .PHONY: all install clean @@ -19,7 +22,7 @@ ALL=encodings.so hashes.so net.so pposix.so signal.so table.so all: $(ALL) install: $(ALL) - install $^ ../util/ + $(INSTALL_DATA) $^ $(TARGET) clean: rm -f $(ALL) -- cgit v1.2.3