diff options
| author | amelia squires <[email protected]> | 2025-04-21 20:43:51 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-04-21 20:43:51 -0500 |
| commit | af975d63f67e6cc2d17f1804acb66328905f8701 (patch) | |
| tree | ab23744e784044d29cc73cd1da4070011e7e858c /makefile | |
| parent | b2ee662b4621282b137a2a2cf1be13bd60073c5a (diff) | |
better version support, fixes, and memory saftey
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)
|
