From a8ddac9539a6671d21b4dea0e7a13ec0d719a33d Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Tue, 8 Jun 2021 10:38:10 +0200
Subject: [PATCH] Sort wildcard expansions in Makefile

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

diff --git a/Makefile b/Makefile
index 7a65ef2..7960c69 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:=$(sort $(wildcard plugins/*))
+ADAPTORS:=$(sort $(wildcard adaptors/*))
 export CCFLAGS LDFLAGS
 LDFLAGS_parse_config=-ldl
 #-export-dynamic
-- 
GitLab