From: Holger Schemel Date: Fri, 4 Nov 2022 22:24:23 +0000 (+0100) Subject: added support for compiling on OS/2 X-Git-Tag: 4.3.3.0~29 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=2d2f81c45b014c5319f864c113c399b83c126333 added support for compiling on OS/2 --- diff --git a/src/Makefile b/src/Makefile index 192186e0..899bab0f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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