diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-03 03:39:47 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-03 03:39:47 -0400 |
| commit | 2d59766eb330b9d15a9bcbcd7e1695809fc099c5 (patch) | |
| tree | b5abb4d0c0c488cbb44c2c0a54d59b44fe1fc462 /makefile | |
| parent | 2461cd921d45e3d75245568bc59831c1f0a43331 (diff) | |
renamed i386 to x86
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,16 +1,16 @@ # The makefile
OS_NAME := emuos
-ARCH = i386
+ARCH ?= x86_64
export SYSROOT = $(PWD)/sysroot
# Variables for easy access of tools like gcc and nasm
-export CC = i686-elf-gcc
-export CXX = i686-elf-g++
-export LD = i686-elf-ld
+export CC = $(ARCH)-elf-gcc
+export CXX = $(ARCH)-elf-g++
+export LD = $(ARCH)-elf-ld
export NASM = nasm
-QEMU = qemu-system-i386
-ASMFLAGS = -felf32
+QEMU = qemu-system-x86_64
+#ASMFLAGS = -felf32
#CXXFLAGS := -ffreestanding -O2 -Wall -Wextra -fno-exceptions -fno-rtti
#LDFLAGS := -ffreestanding -O2 -nostdlib
|
