vulcanos/kernel/drivers/Makefile
2019-07-05 12:32:04 +02:00

10 lines
188 B
Makefile

OBJS = tty.o gdt.o idt.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 $@