From 244a9154e42a49470bd28e3a95ebe9f4a5fe5ff7 Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Wed, 6 Mar 2024 15:32:17 +0700 Subject: Initialization mechanism --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefile') 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 \)) -- cgit v1.2.3