Add include directory to prog make

This commit is contained in:
pjht 2019-05-01 19:45:06 -05:00
parent 67e9a89c03
commit 89d3d2f7f4

View File

@ -1,6 +1,6 @@
C_SOURCES = $(wildcard *.c)
OBJ = $(C_SOURCES:.c=.o ../libc/libc.a ../kernel/start.o)
CFLAGS = -Wall -g -ffreestanding
CFLAGS = -I../sysroot/usr/include -Wall -g -ffreestanding
CC = i386-elf-gcc
prog.elf: $(OBJ)