From af975d63f67e6cc2d17f1804acb66328905f8701 Mon Sep 17 00:00:00 2001 From: amelia squires Date: Mon, 21 Apr 2025 20:43:51 -0500 Subject: better version support, fixes, and memory saftey --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 1c9bfae..30a261a 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,9 @@ CC := clang GIT_COMMIT := "$(shell git describe --tags)-$(shell git describe --always --match 'NOT A TAG')" -CFLAGS := -fPIC -DGIT_COMMIT='$(GIT_COMMIT)' +version ?= lua5.4 + +CFLAGS := -fPIC -DGIT_COMMIT='$(GIT_COMMIT)' `pkg-config --cflags $(version)` LFLAGS := -lm -shared -lcrypto -lssl LINKER := $(CC) -- cgit v1.2.3