summaryrefslogtreecommitdiff
path: root/src/sys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/Makefile')
-rw-r--r--src/sys/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sys/Makefile b/src/sys/Makefile
index 52e4e20..a00f247 100644
--- a/src/sys/Makefile
+++ b/src/sys/Makefile
@@ -6,7 +6,15 @@ LD =
AS =
.PHONY: all
-all: md
+all: target md kern
+
+.PHONY: target
+target:
+ mkdir -p target/
+
+.PHONY: kern
+kern:
+ cd kern; make CC=$(CC) LD=$(LD) AS=$(AS)
.PHONY: md
md:
@@ -15,3 +23,4 @@ md:
.PHONY: clean
clean:
cd $(TARGETDIR); make clean
+ cd kern; make clean