From e5d9986c112e5f7da065b8f68f4d54cd70bfcffb Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Sun, 3 May 2026 02:07:27 -0500 Subject: [PATCH] point Makefile at foundation/el rather than /usr/local/lib/el elc is not installed system-wide; resolve ELC and EL_LIB from the monorepo at $(HOME)/Development/neuron-technologies/foundation/el so plain `make build` works without extra env vars. --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c6e69eb..6dddd96 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ -EL_LIB ?= /usr/local/lib/el -ELC ?= elc -CC ?= cc -CFLAGS := -std=c11 -O2 -I$(EL_LIB) +EL_ROOT ?= $(HOME)/Development/neuron-technologies/foundation/el +EL_LIB ?= $(EL_ROOT)/el-compiler/runtime +ELC ?= $(EL_ROOT)/dist/platform/elc +CC ?= cc +CFLAGS := -std=c11 -O2 -I$(EL_LIB) .PHONY: build clean install