
#PREFIX := x86_64-pc-elf
PREFIX := x86_64-none-elf

CC := $(PREFIX)-gcc
LD := $(PREFIX)-ld
DISASM = $(PREFIX)-objdump -d -M x86-64 -S

KERNEL_CFLAGS := -mcmodel=kernel -nostdlib -mno-red-zone -Wall -mno-sse
DYNMOD_CFLAGS := -mcmodel=small -fPIC -mno-red-zone -mno-sse

ARCHDIR = x86_64

ASFLAGS = -felf64

