vulcanos/kernel/Makefile
2021-02-04 15:27:55 +01:00

11 lines
224 B
Makefile

OBJS = kernel_main.o
CC = i686-elf-gcc # cross-compiler
CFLAGS = -m32 -fno-stack-protector -ffreestanding -Wall -Wextra -Werror -g -c
all: ${OBJS}
%.o: %.c
@$(CC) $(CFLAGS) $< -o $@
@echo [CC] Compiling $<...