aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6f51358..ab74b97 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,9 @@ OBJ = src/signal.o \
src/signames.o \
src/queue.o
CC = gcc
-INCLUDES =
+INCLUDES = -I$(LUA_INCLUDEPATH)
DEFINES =
-LIBS = -llua
-# COMMONFLAGS = -fpic -Werror -Wall -pedantic -O0 -g -pipe
+LIBS = -l$(LUA_LIBNAME)
COMMONFLAGS = -fpic -Werror -Wall -pedantic -O2 -g -pipe
CFLAGS = -c $(INCLUDES) $(DEFINES) $(COMMONFLAGS)
LDFLAGS = -shared $(LIBS) $(COMMONFLAGS)