1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-11-20 11:16:10 -05:00
kernel/Makefile
2017-11-04 06:40:46 +00:00

27 lines
476 B
Makefile

export CCPREFIX = i686-elf-
run: run-iso
all: all-kernel all-iso all-libk
clean: clean-kernel clean-iso clean-libk
all-kernel: all-libk
make all -C arch I=$(shell pwd)/include LIBK=$(shell pwd)/libk/libk.a
clean-kernel:
make clean -C arch
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:
make clean -C iso
all-libk:
make all -C libk
clean-libk:
make clean -C libk