os/vfs/Makefile

14 lines
263 B
Makefile
Raw Normal View History

C_SOURCES = $(wildcard *.c)
OBJ = $(C_SOURCES:.c=.o)
CFLAGS = -I../sysroot/usr/include -Wall -g
CC = i386-elf-gcc
vfs: $(OBJ) ../libc/*
@i386-elf-ld -o $@ $(OBJ) ../kernel/start.o ../libc/libc.a
%.o: %.c
@$(CC) $(CFLAGS) -c $< -o $@
clean:
2019-06-22 10:31:33 -05:00
@rm -rf *.o vfs