From 5a78c86e51fb34736af7e1edf9b90fc50971da54 Mon Sep 17 00:00:00 2001 From: jonyluke Date: Sun, 7 Apr 2019 18:21:45 +0200 Subject: [PATCH] Update Makefile --- audio/sdl2-audio/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/audio/sdl2-audio/Makefile b/audio/sdl2-audio/Makefile index 0ff3052..1eb4f3e 100644 --- a/audio/sdl2-audio/Makefile +++ b/audio/sdl2-audio/Makefile @@ -52,18 +52,14 @@ ARCH := -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE CFLAGS := -g -Wall -O2 -ffunction-sections \ $(ARCH) $(DEFINES) -CFLAGS += $(INCLUDE) -D__SWITCH__ +CFLAGS += -D__SWITCH__ $(INCLUDE) `sdl2-config --cflags` CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -LIBS := -lSDL2_ttf -lSDL2_image -lSDL2_mixer -lSDL2 \ - -lpng -lz -ljpeg \ - -lglad -lEGL -lglapi -ldrm_nouveau \ - -lvorbisidec -logg -lmpg123 -lmodplug -lstdc++ \ - -lnx -lm -lfreetype -lbz2 +LIBS := `sdl2-config --libs` #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing