aboutsummaryrefslogtreecommitdiffstats
path: root/libc/makefile
diff options
context:
space:
mode:
authorEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-05-07 11:07:03 -0400
committerEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-05-07 11:07:03 -0400
commitabaab98bd757cd0818cfcddc983eee25ab7672ed (patch)
tree4e5d407cf55877b38699ac12b904be2dc3d99864 /libc/makefile
parent47d94ed4fd724d0e8b7819e7e3d0783c798ea190 (diff)
Made framebuffer class, serial write functions, and finally got makefile to build without having to make clean
Diffstat (limited to 'libc/makefile')
-rw-r--r--libc/makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/makefile b/libc/makefile
index 560efb7..aec21ef 100644
--- a/libc/makefile
+++ b/libc/makefile
@@ -6,21 +6,21 @@ endif
ifndef CFLAGS
CFLAGS = -ffreestanding -Wall -Wextra -g -std=gnu11 -O2 -Iinclude
- CFLAGS += --sysroot="$(SYSROOT)"
- CFLAGS += -isystem="/usr/include"
+ CFLAGS += --sysroot=$(SYSROOT)
+ CFLAGS += -isystem $(SYSROOT)/usr/include
endif
ifndef CXXFLAGS
CXXFLAGS = -ffreestanding -Wall -Wextra -fno-exceptions -fno-rtti -D__is_kernel -g -O2 -Iinclude
CXXFLAGS += -Iinclude
- CXXFLAGS += --sysroot="$(SYSROOT)"
- CXXFLAGS += -isystem="/usr/include"
+ CXXFLAGS += --sysroot=$(SYSROOT)
+ CXXFLAGS += -isystem $(SYSROOT)/usr/include
endif
ifndef LDFLAGS
LDFLAGS = -T arch/$(ARCH)/linker.ld -ffreestanding -g -O2 -Iinclude
- LDFLAGS += --sysroot="$(SYSROOT)"
- LDFLAGS += -isystem="/usr/include"
+ LDFLAGS += --sysroot=$(SYSROOT)
+ LDFLAGS += -isystem $(SYSROOT)/usr/include
endif
ifndef SYSROOT
@@ -76,4 +76,4 @@ install-lib: libc.a
clean:
$(info [INFO] Cleaning)
- $(RM) ${OBJECTS} $(DEPFILES) \ No newline at end of file
+ $(RM) ${OBJECTS} $(DEPFILES) libc.a \ No newline at end of file