aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 455d4bc6167568b59faf664f6ba5d92e5d7a0b9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# MIT License, Copyright (c) 2020 Marvin Borner

all: compile clean

compile:
	@$(MAKE) clean --no-print-directory -C lib/
	@$(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