2023-07-17 02:40:11 +00:00
|
|
|
ARCH = i386
|
|
|
|
FORMAT = elf
|
|
|
|
CC = $(ARCH)-$(FORMAT)-gcc
|
|
|
|
LD = $(ARCH)-$(FORMAT)-ld
|
|
|
|
AS = nasm
|
|
|
|
AR = ar
|
2023-07-16 06:54:32 +00:00
|
|
|
|
2023-07-17 02:40:11 +00:00
|
|
|
CFLAGS = -ffreestanding -m32 -O2 -Wall -Wextra -pedantic # -DKERNEL_LOG
|
|
|
|
LDFLAGS = -nostdlib
|
2023-07-16 06:54:32 +00:00
|
|
|
|
2023-07-17 02:40:11 +00:00
|
|
|
QEMU = qemu-system-$(ARCH)
|