summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/Makefile
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-01-06 11:55:55 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-01-06 11:55:55 +0000
commit919caf0208a7a6ed4a5f7b920c692e758d9d3250 (patch)
tree390cdcc6908fe562719b5280cc0efe66ac249230 /rbutil/ipodpatcher/Makefile
parentdadd80a8a601ba56246b0e3ad37b55f2c97d1196 (diff)
downloadrockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.tar.gz
rockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.tar.bz2
rockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.zip
allow building ipodpatcher / sansapatcher with MinGW.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/Makefile')
-rw-r--r--rbutil/ipodpatcher/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile
index 79d1b2f62a..186c1da5c9 100644
--- a/rbutil/ipodpatcher/Makefile
+++ b/rbutil/ipodpatcher/Makefile
@@ -14,10 +14,15 @@ ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
OUTPUT=ipodpatcher.exe
CROSS=
CFLAGS+=-mno-cygwin
+else
+ifeq ($(findstring MINGW,$(shell uname)),MINGW)
+OUTPUT=ipodpatcher.exe
+CROSS=
else
OUTPUT=ipodpatcher
CROSS=i586-mingw32msvc-
endif
+endif
NATIVECC = gcc
CC = $(CROSS)gcc