vulcanos/kernel/libc/Makefile
2019-09-26 17:45:46 +02:00

10 lines
196 B
Makefile

OBJS = stdio.o string.o assert.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 $@