From 943a6597b2bcd1b3ed208458a5cba61ad5b4051c Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Mon, 18 Nov 2024 00:34:23 -0600 Subject: ... --- src/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 432b331..07f1cb5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,7 +12,7 @@ LDFLAGS = CC = $(DEVKITPRO)/devkitARM/bin/arm-none-eabi-gcc -CFLAGS_AUTO = -D__3DS__ -ffunction-sections -flto -g -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -mword-relocations -Og -std=c11 -Wall -Werror=implicit-function-declaration +CFLAGS_AUTO = -D__3DS__ -ffunction-sections -flto -g -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -mword-relocations -O3 -std=c11 -Wall -Werror=implicit-function-declaration LDFLAGS_AUTO = -L$(DEVKITPRO)/libctru/lib -specs=3dsx.specs LDLIBS_AUTO = -lctru -lm @@ -38,9 +38,7 @@ all: imb3.3dsx imb3.3dsx: imb3.elf 3dsxtool $< $@ -imb3.elf: $(OBJS) obj/gc/gc.o - $(CC) $(CFLAGS_ALL) $(LDFLAGS_ALL) -o $@ $^ $(LDLIBS_ALL) -imb3-debug.elf: $(OBJS) obj/gc/gc-debug.o +imb3.elf: $(OBJS) obj/gc/gc.o obj/platform/3ds.o $(CC) $(CFLAGS_ALL) $(LDFLAGS_ALL) -o $@ $^ $(LDLIBS_ALL) obj/%.o: $(srcdir)/%.c -- cgit v1.2.3