From 20fe6737b76da97c931b4c227c40ce65b52dd5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Fri, 11 Oct 2024 11:15:29 +0200 Subject: [PATCH] Fix trailing space in Makefile Unfortunately, GNU make does not chop off trailing whitespace from string values in assignments. So the default BINDIR was `/usr/local /bin` without this patch. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4ba9183b9..a5995d0b1 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ all: BUILD_TARGET := bin/ameba -DESTDIR ?= ## Install destination dir -PREFIX ?= /usr/local ## Install path prefix +DESTDIR ?= ## Install destination dir +PREFIX ?= /usr/local## Install path prefix BINDIR ?= $(DESTDIR)$(PREFIX)/bin # The crystal command to use