summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 68e0301..fead60d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,19 +8,24 @@ CFLAGS+=-ggdb
.endif
.export
-sys: ${SRC} lib/build/libc.a
+sys: ${SRC} lib/libc/build/libc.a lib/libfdt/build/libfdt.a
@echo "building kernel"
(${MAKE} -C sys -e)
-lib/build/libc.a:
+lib/libc/build/libc.a:
@echo "building libc"
- (${MAKE} -C lib -e)
+ (${MAKE} -C lib/libc -e)
+
+lib/libfdt/build/libfdt.a:
+ @echo "building libfdt"
+ (${MAKE} -C lib/libfdt -e)
debug: sys
(${MAKE} -C sys -e debug)
clean:
(${MAKE} -C sys -e clean)
- (${MAKE} -C lib -e clean)
+ (${MAKE} -C lib/libc -e clean)
+ (${MAKE} -C lib/libfdt -e clean)
.PHONY: sys debug all clean