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