summaryrefslogtreecommitdiff
path: root/sys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 0ee8c93..5291a43 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -7,7 +7,8 @@ SYS_CFLAGS =
ARCH =
.PHONY: all
-all: kern arch
+all: target kern arch
+ rm -rf target/
.PHONY: arch
arch:
@@ -22,3 +23,8 @@ kern:
.PHONY: clean
clean:
cd arch/$(ARCH); make clean
+
+.PHONY: target
+target:
+ mkdir -p target/inc/md/
+ rsync -avr inc/arch/$(ARCH)/* target/inc/md/