2019-07-03 18:12:57 +02:00
|
|
|
OBJS = kernel_main.o
|
|
|
|
|
|
|
|
CC = i686-elf-gcc # cross-compiler
|
|
|
|
CFLAGS = -m32 -fno-stack-protector -ffreestanding -Wall -Wextra -Werror -g -c
|
|
|
|
|
|
|
|
|
2019-07-03 21:04:05 +02:00
|
|
|
all: ${OBJS}
|
2019-07-03 18:12:57 +02:00
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAGS) $< -o $@
|