added support for compiling on OS/2
authorHolger Schemel <info@artsoft.org>
Fri, 4 Nov 2022 22:24:23 +0000 (23:24 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 4 Nov 2022 22:24:23 +0000 (23:24 +0100)
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