blob: d78ed894cebc1cea9a2829b8cb967c6a4729c2d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# MIT License, Copyright (c) 2020 Marvin Borner
all: compile clean
compile:
@$(MAKE) libc --no-print-directory -C lib/
@echo "Compiled libc"
@$(MAKE) clean --no-print-directory -C lib/
@$(MAKE) libk --no-print-directory -C lib/
@echo "Compiled libk"
@$(MAKE) --no-print-directory -C kernel/
@echo "Compiled kernel"
@$(MAKE) --no-print-directory -C apps/
@echo "Compiled apps"
clean:
@find kernel/ apps/ lib/ \( -name "*.o" -or -name "*.a" -or -name "*.elf" -or -name "*.bin" \) -type f -delete
|