commit 49cd18b9bf49dee6c2c9d13bba52fe50f7998505 parent 3e81ad913419244af0a4c6c5517608bdb8ffde75 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun, 1 Nov 2015 18:15:05 +0000 Explicitly compile against Lua 5.1 Diffstat:
Makefile | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ CC = gcc SRCDIR = src -CFLAGS = -O2 -std=gnu99 -LIBS = -lX11 -L/usr/X11R6/lib -llua +CFLAGS = -O2 -std=gnu99 $(shell pkg-config --cflags lua5.1) +LIBS = -lX11 -L/usr/X11R6/lib $(shell pkg-config --libs lua5.1) WARNINGS = -Wall -Wextra -Werror OBJS = main.o textbox.o input.o ui.o script.o .PHONY: all