# # *** SUB-MAKE *** # # this file is a sub-make # which means this file # should not be run on its # own and should be called # from the main make file ASM ?=nasm ROOT_DIR ?= ../.. BUILD_DIR ?= $(ROOT_DIR)/build SRC_DIR ?= $(ROOT_DIR)/src SRC_KERNEL_DIR ?= $(SRC_DIR)/kernel $(BUILD_DIR)/kernel.bin: $(ASM) $(SRC_KERNEL_DIR)/main.asm -f bin -o $(BUILD_DIR)/kernel.bin