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

32 lines
533 B
Makefile
Raw Normal View History

2017-11-04 02:09:14 -04:00
export CCPREFIX = i686-elf-
export AR = $(CCPREFIX)ar
export AS = $(CCPREFIX)as
export CC = $(CCPREFIX)gcc
2017-11-01 05:20:44 -04:00
run: run-iso
2017-11-01 01:03:52 -04:00
2017-11-04 02:04:04 -04:00
all: all-kernel all-iso all-libk
clean: clean-kernel clean-iso clean-libk
2017-11-01 05:20:44 -04:00
2017-11-04 02:04:04 -04:00
all-kernel: all-libk
make all -C arch LIBK=$(shell pwd)/libk/libk.a
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
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-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