allow building ipodpatcher / sansapatcher with MinGW.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-01-06 11:55:55 +00:00
parent dadd80a8a6
commit 919caf0208
2 changed files with 10 additions and 0 deletions

View file

@ -15,9 +15,14 @@ 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

View file

@ -5,9 +5,14 @@ OUTPUT=sansapatcher.exe
CROSS=
CFLAGS+=-mno-cygwin
else
ifeq ($(findstring MINGW,$(shell uname)),MINGW)
OUTPUT=sansapatcher.exe
CROSS
else
OUTPUT=sansapatcher
CROSS=i586-mingw32msvc-
endif
endif
NATIVECC = gcc
CC = $(CROSS)gcc