-
-RM =/bin/rm -f
-CC = gcc
-PROGNAME = rln
-LIBS =
-
-# Figure out which system we're compiling for, and set the appropriate variables
-
-OSTYPE := $(shell uname -a)
-
-ifeq "$(findstring Msys,$(OSTYPE))" "Msys" # Win32
-
-OSDEFINE := WIN32
-
-else # ???
-
-OSDEFINE := __GCCUNIX__
-
+#
+RM =/bin/rm -f
+CC = gcc
+PROGNAME = rln
+LIBS =
+#
+# Figure out which system we're compiling for, and set the appropriate
+# variables
+#
+SYSTYPE := __GCCUNIX__
+
+ifneq "$(CROSS)" ""
+SYSTYPE := WIN32
+else
+OSTYPE := $(shell uname -o)
+ifeq "$(findstring Msys,$(OSTYPE))" "Msys"
+SYSTYPE := WIN32
+endif