Make the makefile clone ker

This commit is contained in:
Morten Delenk 2016-04-26 19:11:01 +02:00
parent 76c665d21f
commit 3a6d88831d

View file

@ -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