From 18edcdf37c83d2bb4f4f5cefeb31a6bb4db63e84 Mon Sep 17 00:00:00 2001 From: rn5f107s2 Date: Fri, 27 Dec 2024 19:08:12 +0100 Subject: [PATCH] t --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e38b5cc..2fdb77b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ DEFAULT_EXE=localengine -TARGET ?= $(DEFAULT_EXE) +CWD := $(shell pwd) +EXE ?= $(DEFAULT_EXE) all: - cd ~/localengine && make EXE=$(TARGET) + cd ~/localengine && make EXE=$(CWD)/$(EXE)