summaryrefslogtreecommitdiff
path: root/compile/win32/Makefile
diff options
context:
space:
mode:
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 \