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

all: compile clean

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