summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAlexey Gavrilov <90127298+rebovas@users.noreply.github.com>2024-03-07 15:18:51 +0700
committerGitHub <noreply@github.com>2024-03-07 15:18:51 +0700
commit05673a8a51a9f00fa367ec2898ffce493e7ecdc9 (patch)
tree4999e8c789a036511a1b6bbaec594b712bb1f64a /makefile
parent976575c12b5da66996a3204ec711e4937a3ef240 (diff)
parent244a9154e42a49470bd28e3a95ebe9f4a5fe5ff7 (diff)
Merge pull request #1 from rebovas/init_proc
Mechanism of initialization
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 \))