PLATFORM = unix
endif
+PLATFORM_BASE = $(PLATFORM)
+
+ifeq ($(PLATFORM),cross-win32)
+PLATFORM_BASE = cross-win
+endif
+ifeq ($(PLATFORM),cross-win64)
+PLATFORM_BASE = cross-win
+endif
+
AR = ar
RANLIB = ranlib
ETAGS = etags
PROFILING_FLAGS = -pg
endif
-ifeq ($(PLATFORM),cross-win32) # cross-compiling to Windows
+ifeq ($(PLATFORM_BASE),cross-win) # cross-compiling to Windows
PROGNAME = ../$(PROGBASE).exe
EXTRA_LDFLAGS = -lshfolder -lwsock32
endif
ICONBASE = windows_icon
ICON_BASEPATH = ../Special/Icons/windows_icons
-ifeq ($(PLATFORM),cross-win32)
+ifeq ($(PLATFORM_BASE),cross-win)
ICON_PATH = $(ICON_BASEPATH)/$(EDITION)
ICON = $(ICONBASE).o
endif