From e0bb325e42b4a6a8a3ba06dc5544088c564b089c Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Fri, 4 Jun 2021 16:46:47 +0200 Subject: [PATCH] better makefile with platforms --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3b6174f..cd32beb 100644 --- a/Makefile +++ b/Makefile @@ -17,12 +17,12 @@ ifeq ($(platform), funkey) else SDL_INCLUDES = `sdl-config --cflags` SDL_INCLUDES += `libmikmod-config --cflags` - SDL_LIBS = `sdl-config --libs` - SDL_LIBS += `libmikmod-config --libs` endif ifeq ($(platform), funkey_simulated) CFLAGS_EXTRA = -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED + SDL_LIBS = `sdl-config --libs` + SDL_LIBS += `libmikmod-config --libs` endif DEPFLAGS = $(SDL_INCLUDES)