vulcanos/kernel/libc/Makefile
2021-01-02 17:49:15 +01:00

11 lines
204 B
Makefile

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