From f038f00572af305a5fa4f9851aaefd9bcfa66c57 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 13 Oct 2016 19:47:50 -0400 Subject: [PATCH] continuing effort to modularize our build system --- Makefile | 3 +-- tools/Makefile.inc | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 tools/Makefile.inc diff --git a/Makefile b/Makefile index cc0b737f3..782b21f9b 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ ################################################################################# # Project modules -MODULES = lib plugins src tests thirdparty +MODULES = lib plugins src tests thirdparty tools # Default prefix for install target PREFIX ?= /usr/local @@ -97,7 +97,6 @@ everything: .PHONY: all clean install docker doc $(MODULES) install: $(addprefix install-,$(MODULES)) - install -m 0755 tools/villas.sh $(PREFIX)/bin/villas clean: $(addprefix clean-,$(MODULES)) rm -rf $(BUILDDIR) diff --git a/tools/Makefile.inc b/tools/Makefile.inc new file mode 100644 index 000000000..6a9229bb5 --- /dev/null +++ b/tools/Makefile.inc @@ -0,0 +1,8 @@ +tools: + +clean-tools: + +install-tools: + install -m 0755 tools/villas.sh $(PREFIX)/bin/villas + +.PHONY: tools clean-tools install-tools \ No newline at end of file