vulcanos/kernel/libc/Makefile

12 lines
270 B
Makefile
Raw Normal View History

2021-01-05 18:43:59 +01:00
OBJS = stdio.o string.o panic.o time.o
VER := $(shell git rev-parse --short HEAD)
CC = i686-elf-gcc # cross-compiler
2021-01-05 18:43:59 +01:00
CFLAGS = -DVULCAN_VERSION=$(VER) -m32 -fno-stack-protector -ffreestanding -Wall -Wextra -Werror -g -c
all:${OBJS}
%.o: %.c
2021-01-02 17:49:15 +01:00
$(CC) $(CFLAGS) $< -o $@