From 89d3d2f7f418cdc9ae83d70613b38fff0366a916 Mon Sep 17 00:00:00 2001 From: pjht Date: Wed, 1 May 2019 19:45:06 -0500 Subject: [PATCH] Add include directory to prog make --- prog/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/Makefile b/prog/Makefile index f817b22..65e1327 100644 --- a/prog/Makefile +++ b/prog/Makefile @@ -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)