diff --git a/src/sys/Makefile b/src/sys/Makefile index faa2490a..c6584189 100644 --- a/src/sys/Makefile +++ b/src/sys/Makefile @@ -1,6 +1,6 @@ objects := $(patsubst %.c,%.o,$(wildcard *.c)) subdirs := mm sched syscalls pseudodevs -OBJPATH=$(OBJDIR) +OBJPATH=$(OBJDIR)/sys/ export all: $(subdirs) $(objects) diff --git a/src/sys/mm/Makefile b/src/sys/mm/Makefile index 1d6ce393..8d6038ee 100644 --- a/src/sys/mm/Makefile +++ b/src/sys/mm/Makefile @@ -1,6 +1,6 @@ objects := $(patsubst %.c,%.o,$(wildcard *.c)) subdirs := -OBJPATH=$(OBJDIR) +OBJPATH=$(OBJDIR)/sys/mm/ export all: $(subdirs) $(objects) diff --git a/src/sys/pseudodevs/Makefile b/src/sys/pseudodevs/Makefile index e587c7aa..7f197311 100644 --- a/src/sys/pseudodevs/Makefile +++ b/src/sys/pseudodevs/Makefile @@ -1,6 +1,6 @@ objects := $(patsubst %.c,%.o,$(wildcard *.c)) subdirs := -OBJPATH=$(OBJDIR) +OBJPATH=$(OBJDIR)/sys/pseudodevs/ export all: $(subdirs) $(objects) diff --git a/src/sys/sched/Makefile b/src/sys/sched/Makefile index 1d6ce393..fc357752 100644 --- a/src/sys/sched/Makefile +++ b/src/sys/sched/Makefile @@ -1,6 +1,6 @@ objects := $(patsubst %.c,%.o,$(wildcard *.c)) subdirs := -OBJPATH=$(OBJDIR) +OBJPATH=$(OBJDIR)/sys/sched/ export all: $(subdirs) $(objects) diff --git a/src/sys/syscalls/Makefile b/src/sys/syscalls/Makefile index 1d6ce393..3b3f5259 100644 --- a/src/sys/syscalls/Makefile +++ b/src/sys/syscalls/Makefile @@ -1,6 +1,6 @@ objects := $(patsubst %.c,%.o,$(wildcard *.c)) subdirs := -OBJPATH=$(OBJDIR) +OBJPATH=$(OBJDIR)/sys/syscalls/ export all: $(subdirs) $(objects)