From ca8d624474de3a0b081004fee6b7e3229ff40555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ka=C3=ADque=20Kandy=20Koga?= Date: Thu, 3 Nov 2022 04:08:28 -0300 Subject: [PATCH] $< make (#745) * Apparently $< is not working propertly on FreeBSD. Changing the Makefile from $< to bin/n works. * Simplify mkdir --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9579ccb..c70ab22 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ PREFIX ?= /usr/local install: bin/n - mkdir -p $(PREFIX)/$(dir $<) - cp $< $(PREFIX)/$< + mkdir -p $(PREFIX)/bin + cp bin/n $(PREFIX)/bin/n uninstall: rm -f $(PREFIX)/bin/n