From e90c53e48d121f63a0ff94e02cf09debe84d987e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 5 Oct 2016 11:52:44 +0200 Subject: [PATCH] Improve makefile, add run target to run in-tree --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 256e1b5f3..c27999982 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,13 @@ all: - cd build && ninja-build + ninja-build -C build install: - cd build && ninja-build install + ninja-build -C build install clean: - cd build && ninja-build clean + ninja-build -C build clean + +run: + PINOS_MODULE_DIR=build \ + PINOS_CONFIG_FILE=build/pinos/daemon/pinos.conf \ + build/pinos/daemon/pinos