Skip to content

Commit

Permalink
adding version number and mac version to mecb and mewb builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mittelmark committed Aug 1, 2024
1 parent 8513a9c commit 9f6d7a3
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions macos32gcc.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Author : $Author$
# Created By : Detlef Groth
# Created : Wed Jul 31 21:47:07 2024
# Last Modified : <240801.0913>
# Last Modified : <240801.0924>
#
# Description
#
Expand All @@ -33,15 +33,8 @@ version=091224b
VERSION=$(shell grep -e '^version=' macos32gcc.gmk | sed 's/version=//')
CC=gcc-11
MAKE=/usr/local/opt/make/libexec/gnubin/make
KERNEL=$(shell uname -r | grep -oE '^[0-9]+')
OS="14"
ifeq($(KERNEL),21)
OS="12"
else ifeq($(KERNEL),22)
OS="13"
else
OS="14"
endif
KERNEL=$(shell uname -r | grep -oE '^[0-9]+' | sed 's/21/12/' | sed 's/22/13/' | sed 's/23/14/')
OS=macos-$(KERNEL)

bfs/bin:
cd bfs && $(MAKE) CC=$(CC)
Expand All @@ -53,7 +46,7 @@ mew:
cd src && $(MAKE) -f macos32gcc.gmk CC=$(CC) BTYP=cw

mecb: mec bfs/bin
./bfs/bfs -a ./src/.macos32gcc-release-mec/mec -o mecb-macos-$(OS)-$(VERSION).bin ./jasspa
./bfs/bfs -a ./src/.macos32gcc-release-mec/mec -o mecb-$(OS)-$(VERSION).bin ./jasspa

mewb: mew bfs/bin
./bfs/bfs -a ./src/.macos32gcc-release-mecw/mecw -o mewb-macos-$(OS)-$(VERSION).bin ./jasspa
./bfs/bfs -a ./src/.macos32gcc-release-mecw/mecw -o mewb-$(OS)-$(VERSION).bin ./jasspa

0 comments on commit 9f6d7a3

Please sign in to comment.