summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAlexey Gavrilov <rebovas@yahoo.com>2024-03-06 15:32:17 +0700
committerAlexey Gavrilov <rebovas@yahoo.com>2024-03-06 15:32:17 +0700
commit244a9154e42a49470bd28e3a95ebe9f4a5fe5ff7 (patch)
tree4999e8c789a036511a1b6bbaec594b712bb1f64a /makefile
parent1af53b431da6d3b5dcf7132f98f9eb2af88b57fa (diff)
Initialization mechanism
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 5065549..d7bdcb2 100644
--- a/makefile
+++ b/makefile
@@ -4,7 +4,7 @@ ASM = nasm
# test -O2 flag
CFLAGS = -c -m32 -Wall -ffreestanding -nostdinc -nostdlib
AFLAGS = -f elf32
-LDFLAGS = -m elf_i386 -L$(GCC_PATH) -lgcc
+LDFLAGS = -m elf_i386 $(patsubst %,-L%,$(subst :, ,$(LIBS_PATH))) -lgcc -lstdc++
QEMUFLAGS =
CFILES = $(shell find ./ -type f \( -name \*.cpp -o -name \*.c \))