Make the makefile clone ker
This commit is contained in:
parent
76c665d21f
commit
3a6d88831d
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -23,11 +23,13 @@ CXXFLAGS = -std=c++11 -fno-stack-protector -fno-use-cxa-atexit -nostdlib -fno-bu
|
||||||
LDFLAGS = -nostdlib -fno-builtin -Tkernel.ld
|
LDFLAGS = -nostdlib -fno-builtin -Tkernel.ld
|
||||||
|
|
||||||
# Targets
|
# Targets
|
||||||
all: obj/ kernel
|
all: prereqs kernel
|
||||||
|
|
||||||
obj/:
|
prereqs:
|
||||||
mkdir obj
|
mkdir obj
|
||||||
.PHONY: clean
|
git clone https://github.com/MasterQ32/ker
|
||||||
|
mv ker/* .
|
||||||
|
.PHONY: clean all prereqs
|
||||||
clean:
|
clean:
|
||||||
$(RM) obj/dynamic.o obj/intr_common_handler.o obj/multiboot.o obj/start.o obj/console.o obj/init.o obj/interrupts.o obj/malloc.o obj/pmm.o obj/serial.o obj/stdlib.o obj/timer.o obj/vmm.o obj/cplusplus.o obj/vm.o obj/cpustatetype.o obj/io.o
|
$(RM) obj/dynamic.o obj/intr_common_handler.o obj/multiboot.o obj/start.o obj/console.o obj/init.o obj/interrupts.o obj/malloc.o obj/pmm.o obj/serial.o obj/stdlib.o obj/timer.o obj/vmm.o obj/cplusplus.o obj/vm.o obj/cpustatetype.o obj/io.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue