vulcanos/kernel/Makefile

11 lines
224 B
Makefile
Raw Permalink Normal View History

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