10 lines
240 B
Makefile
10 lines
240 B
Makefile
OBJS = paging.o kheap.o ordered_array.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 $<...
|