diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-23 00:24:06 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-23 00:24:06 +0200 |
commit | 381df7332afd38e6f6d193bc673447d7342764b0 (patch) | |
tree | 4b64a1708eb25f17f12fdd05896fed7631ed5430 /Makefile | |
parent | c89ea072ef3a9a83feb1d853bed914a4bcb199c4 (diff) | |
download | uxngba-381df7332afd38e6f6d193bc673447d7342764b0.tar.gz uxngba-381df7332afd38e6f6d193bc673447d7342764b0.zip |
Try fixing compilation issues on macOS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ | |||
4 | # Path to the development kit (devkitARM) and the GBA library. | 4 | # Path to the development kit (devkitARM) and the GBA library. |
5 | DEVKITPRO := /opt/devkitpro | 5 | DEVKITPRO := /opt/devkitpro |
6 | DEVKITARM := /opt/devkitpro/devkitARM | 6 | DEVKITARM := /opt/devkitpro/devkitARM |
7 | PATH := $(DEVKITARM)/bin:$(PATH) | 7 | DEVKITBIN := $(DEVKITARM)/bin |
8 | LIBGBA_DIR := $(DEVKITPRO)/libgba | 8 | LIBGBA_DIR := $(DEVKITPRO)/libgba |
9 | LIBGBA_SRC := /opt/devkitpro/libgba/include/ | 9 | LIBGBA_SRC := /opt/devkitpro/libgba/include/ |
10 | LIBGBA := $(LIBGBA_DIR)/lib/libgba.a | 10 | LIBGBA := $(LIBGBA_DIR)/lib/libgba.a |
@@ -28,8 +28,8 @@ ELF := $(BUILD_DIR)/$(TARGET).elf | |||
28 | BIN := $(BUILD_DIR)/$(TARGET).gba | 28 | BIN := $(BUILD_DIR)/$(TARGET).gba |
29 | 29 | ||
30 | # Compiler and linker configuration. | 30 | # Compiler and linker configuration. |
31 | CC := arm-none-eabi-gcc | 31 | CC := $(DEVKITBIN)/arm-none-eabi-gcc |
32 | OBJCOPY := arm-none-eabi-objcopy | 32 | OBJCOPY := $(DEVKITBIN)/arm-none-eabi-objcopy |
33 | ARCH := -mthumb -mthumb-interwork | 33 | ARCH := -mthumb -mthumb-interwork |
34 | SPECS := -specs=gba.specs | 34 | SPECS := -specs=gba.specs |
35 | CFLAGS := -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types | 35 | CFLAGS := -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types |