2019-09-24 12:39:05 +02:00
|
|
|
OBJS = tty.o gdt.o idt.o isr.o timer.o keyboard.o \
|
2021-01-04 17:54:22 +01:00
|
|
|
fs.o cpuid.o
|
2019-07-03 18:12:57 +02:00
|
|
|
|
|
|
|
CC = i686-elf-gcc # cross-compiler
|
2021-01-04 17:54:22 +01:00
|
|
|
CFLAGS = -m32 -fno-stack-protector -DDEFAULT_USER=root -DDEFAULT_HOSTNAME=vulcan -ffreestanding -Wall -Wextra -Werror -g -c
|
2019-07-03 18:12:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
all:${OBJS}
|
|
|
|
|
|
|
|
%.o: %.c
|
2021-01-04 17:54:22 +01:00
|
|
|
$(CC) $(CFLAGS) $< -o $@
|