summaryrefslogtreecommitdiff
path: root/compile/win32/Makefile
diff options
context:
space:
mode:
authorpixel <pixel>2005-11-09 09:11:42 +0000
committerpixel <pixel>2005-11-09 09:11:42 +0000
commit8f7344b239e65a7c47c45cb7c3737688d4c40b40 (patch)
tree4081b201ed7a639b80cf29459991b45bb3cfd957 /compile/win32/Makefile
parent003e130f79b5de2177381c8258080980b2cf85f5 (diff)
Fixing more cross platform issues...
Diffstat (limited to 'compile/win32/Makefile')
-rw-r--r--compile/win32/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/compile/win32/Makefile b/compile/win32/Makefile
index f1f35c1..5efd4a1 100644
--- a/compile/win32/Makefile
+++ b/compile/win32/Makefile
@@ -1,7 +1,15 @@
+SYSTEM = $(shell uname)
+ifeq ($(SYSTEM), Darwin)
CC = i686-pc-mingw32-gcc
CXX = i686-pc-mingw32-g++
LD = i686-pc-mingw32-g++
STRIP = i686-pc-mingw32-strip
+else
+CC = i586-pc-mingw32-gcc
+CXX = i586-pc-mingw32-g++
+LD = i586-pc-mingw32-g++
+STRIP = i586-pc-mingw32-strip
+endif
INCLUDES = \
-I../../includes -I../../psxdev -I../../generic/include \