From 092695c83e66e54c7eebfe71c8f0f76baa780800 Mon Sep 17 00:00:00 2001 From: Amir Sahrani Date: Wed, 29 Jul 2026 13:07:14 +0200 Subject: [PATCH] Removed hard coded paths to `ar` and `ranlib` to be friendly to non FHS compliant systems (NixOS mainly) --- frotz/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frotz/Makefile b/frotz/Makefile index e56f6e6..b069b76 100644 --- a/frotz/Makefile +++ b/frotz/Makefile @@ -1,8 +1,8 @@ # Define path for ar -AR = /usr/bin/ar +AR = $(shell which ar) # Define path for ranlib -RANLIB = /usr/bin/ranlib +RANLIB = $(shell which ranlib) # Define your C compiler. I recommend gcc if you have it. # MacOS users should use "cc" even though it's really "gcc".