vulcanos/kernel/drivers/Makefile
2021-02-05 13:05:05 +01:00

12 lines
326 B
Makefile

OBJS = tty.o gdt.o idt.o isr.o timer.o keyboard.o \
fs.o cpuid.o initrd.o
CC = i686-elf-gcc # cross-compiler
CFLAGS = -m32 -fno-stack-protector -DDEFAULT_USER=root -DDEFAULT_HOSTNAME=vulcan -ffreestanding -Wall -Wextra -Werror -g -c
all:${OBJS}
%.o: %.c
@$(CC) $(CFLAGS) $< -o $@
@echo [CC] Compiling $<...