From 771319ed2e2c9875613f24bdd4759b973275032a Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sat, 2 Mar 2019 19:10:59 +0200 Subject: [PATCH] Fix SOURCES list dependency search * Now rebuilds trigger correctly after source changes. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 95ab785..10b41a2 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ TARGET = aarch64-vesper-metta TARGET_JSON = targets/$(TARGET).json -SOURCES = $(wildcard src/**/*.rs) $(wildcard src/**/*.S) $(wildcard linker/**/*.ld) +SOURCES = $(shell find src -name "*.rs" -o -name "*.S") $(shell find linker -name "*.ld") DEVICE_FEATURES = --features "noserial" QEMU_FEATURES =