summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0152973..b584fbc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CFLAGS+=-std=c11 -Wall -Wextra -Wpedantic -D_POSIX_C_SOURCE=200809L
-CFLAGS+=-I/usr/include/lua5.3
-LDLIBS+=-llua5.3
+CFLAGS+=`pkg-config --cflags lua5.4`
+LDLIBS+=`pkg-config --libs lua5.4`
PREFIX?=/usr/local
SHARE?=$(PREFIX)/share