kernel/Makefile

34 lines
623 B
Makefile
Raw Normal View History

2017-11-04 06:51:56 +00:00
include config.mk
2017-11-04 06:09:14 +00:00
2017-11-01 09:20:44 +00:00
run: run-iso
2017-11-01 05:03:52 +00:00
2017-11-04 07:33:31 +00:00
all: all-kernel all-iso all-libk all-test
clean: clean-kernel clean-iso clean-libk clean-test
2017-11-01 09:20:44 +00:00
2017-11-04 06:04:04 +00:00
all-kernel: all-libk
2017-11-04 06:21:22 +00:00
make all -C arch I=$(shell pwd)/include LIBK=$(shell pwd)/libk/libk.a
2017-11-01 04:43:42 +00:00
2017-11-01 09:20:44 +00:00
clean-kernel:
2017-11-02 03:38:06 +00:00
make clean -C arch
2017-11-01 09:20:44 +00:00
run-iso: all-kernel
make run -C iso K=$(shell pwd)/arch/kernel
all-iso: all-kernel
make all -C iso K=$(shell pwd)/arch/kernel
clean-iso:
2017-11-02 03:38:06 +00:00
make clean -C iso
2017-11-04 06:04:04 +00:00
all-libk:
make all -C libk
clean-libk:
make clean -C libk
2017-11-04 07:33:31 +00:00
test-libk: all-libk
make run -C test/libk I=$(shell pwd)/include LIBK=$(shell pwd)/libk/libk.a
clean-test:
make clean -C test/libk