added support for compiling on OS/2
[rocksndiamonds.git] / src / Makefile
index 192186e02118d4d413520023eac3aca57a4e92d7..899bab0fb18506cb8d15e185bc42e5f48dd48ff6 100644 (file)
@@ -82,6 +82,11 @@ MACOSX_DEPLOYMENT_TARGET = $MAC_TARGET_VERSION_MIN
 endif
 endif
 
+ifeq ($(shell uname -s),OS/2)          # compiling on OS/2
+PROGNAME = ../$(PROGBASE).exe
+EXTRA_LDFLAGS = -Zomf -Zbin-files -Zmap -lcx -Zhigh-mem
+endif
+
 
 # -----------------------------------------------------------------------------
 # configuring target