diff options
| author | Alexey Gavrilov <90127298+rebovas@users.noreply.github.com> | 2024-03-31 14:40:50 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-31 14:40:50 +0700 |
| commit | 18b4f9d1bff908fd91a48c1953ebcb8363855a59 (patch) | |
| tree | d309b630a161823c79dab9a48f67a41a40d76b24 /makefile | |
| parent | a276644952ed018e77ca64181059434a6bc4ee62 (diff) | |
| parent | 49cfee4e370892df8404e56d53b04dde196f82f2 (diff) | |
Merge pull request #6 from rebovas/idt
IDT + uintptr update
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,9 +2,9 @@ CC = i686-elf-g++ LD = ld ASM = nasm # test -O2 flag -CFLAGS = -c -m32 -Wall -ffreestanding -nostdinc -nostdlib +CFLAGS = -c -m32 -Wall -ffreestanding -nostdinc -nostdlib -fno-rtti AFLAGS = -f elf32 -LDFLAGS = -m elf_i386 $(patsubst %,-L%,$(subst :, ,$(LIBS_PATH))) -lgcc -lstdc++ +LDFLAGS = -m elf_i386 $(patsubst %,-L%,$(subst :, ,$(LIBS_PATH))) -lgcc QEMUFLAGS = CFILES = $(shell find ./ -type f \( -name \*.cpp -o -name \*.c \)) @@ -42,6 +42,7 @@ $(AFILES): startbuild: @echo $(OBJ_FILES) + rm -rf $(BDIR) mkdir $(BDIR) @echo "Compile source files..." |
