summaryrefslogtreecommitdiffstats
path: root/lib/libjove/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libjove/Makefile')
-rw-r--r--lib/libjove/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libjove/Makefile b/lib/libjove/Makefile
index cc5f347..024d4fe 100644
--- a/lib/libjove/Makefile
+++ b/lib/libjove/Makefile
@@ -1,8 +1,11 @@
include $(CONFIG)
-CDIRS := syscall object arch/$(TARGET_MACHINE)
+CDIRS := syscall object
+
CFILES := $(wildcard *.c)
CFILES += $(foreach dir,$(CDIRS),$(wildcard $(dir)/*.c))
+CFILES += $(wildcard arch/$(TARGET_MACHINE)/*.c)
+CFILES += $(foreach dir,$(CDIRS),$(wildcard arch/$(TARGET_MACHINE)/$(dir)/*.c))
OFILES := $(patsubst %.c,%.o,$(CFILES))