From 8612aa730332a88d08980f40bf4e23be198640e1 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 15 Nov 2009 22:10:39 +0000 Subject: [PATCH] More makefile fixes... git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1200 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e61ad755..b5346e14 100644 --- a/Makefile +++ b/Makefile @@ -221,7 +221,8 @@ else LOPT = -mwindows -lmingw32 -lSDLmain -lSDL -lshlwapi `/usr/local/cross-tools/i386-mingw32/bin/sdl-config --libs` -lSDL_image $(TTFLOPT) OBJDIR = obj/win32 PLATFORM = win32 - else ifdef GP2XCROSS + else + ifdef GP2XCROSS #cross compile an exec for the gp2x CC = /opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin/arm-open2x-linux-gcc @@ -244,6 +245,7 @@ else OBJDIR = obj/unix X11LOPT = -lX11 endif + endif endif endif endif