Add sort for always same build order

This commit is contained in:
mario 2016-09-24 11:01:00 +02:00
parent 8e2ad8178d
commit 8c68d2210d

View file

@ -8,8 +8,8 @@ MAKE=$(shell which make)
BASH=$(shell which bash) BASH=$(shell which bash)
CARGO=$(shell which cargo) CARGO=$(shell which cargo)
BINS=$(shell find -maxdepth 1 -name "imag-*" -type d) BINS=$(shell find -maxdepth 1 -name "imag-*" -type d | sort)
LIBS=$(shell find -maxdepth 1 -name "libimag*" -type d) LIBS=$(shell find -maxdepth 1 -name "libimag*" -type d | sort)
BIN_TARGETS=$(patsubst imag-%,,$(BINS)) BIN_TARGETS=$(patsubst imag-%,,$(BINS))
BIN_TARGET_TESTS=$(foreach x,$(BIN_TARGETS),$(x)-test) BIN_TARGET_TESTS=$(foreach x,$(BIN_TARGETS),$(x)-test)