Skip to content

Commit

Permalink
Put the GNU tools first in the PATH for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerb9 committed Mar 14, 2024
1 parent ca99136 commit 178067f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ tokenize:
# Unfortunately, MacOS's tar cannot do that.
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
brew install gnu-awk
brew install gnu-tar
PATH := "/usr/local/opt/gawk/libexec/gnubin:$PATH"
PATH := "/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"
gnuxform :=
else
gnuxform := --xform 's%^%m100le/%'
endif
gnuxform := --xform 's%^%m100le/%'

### Create an archive of the final product for distribution.
archivefiles := M100LE.BA M100LE+comments.DO WL*.CO README.md
Expand Down

0 comments on commit 178067f

Please sign in to comment.