From 38d0b609af337539c6930696ebfdd77d07153b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mattias=20F=C3=A4lt?= <mattiasf@control.lth.se>
Date: Wed, 19 May 2021 20:08:58 +0000
Subject: [PATCH] Make plugins and adaptors optional

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e59a87d..67f3776 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ LIBRARIES=libmoberg.so
 MOBERG_VERSION=$(shell git describe --tags | sed -e 's/^v//;s/-/./g' )
 CCFLAGS+=-Wall -Werror -I$(shell pwd) -O3 -g
 LDFLAGS+=-L$(shell pwd)/build/ -lmoberg
-PLUGINS:=$(wildcard plugins/*)
-ADAPTORS:=$(wildcard adaptors/*)
+PLUGINS?=$(wildcard plugins/*)
+ADAPTORS?=$(wildcard adaptors/*)
 export CCFLAGS LDFLAGS
 LDFLAGS_parse_config=-ldl
 #-export-dynamic
-- 
GitLab