From 3a6d88831d33ad7a9f1a1e0a31f57776e26d6ee1 Mon Sep 17 00:00:00 2001 From: Morten Delenk Date: Tue, 26 Apr 2016 19:11:01 +0200 Subject: [PATCH] Make the makefile clone ker --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 270eb56..55d00f3 100644 --- a/Makefile +++ b/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 # Targets -all: obj/ kernel +all: prereqs kernel -obj/: +prereqs: mkdir obj -.PHONY: clean + git clone https://github.com/MasterQ32/ker + mv ker/* . +.PHONY: clean all prereqs 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