A binding to libqalculate for lua
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
304 B

LUA_VERSION=5.1
INCLUDES=-I/usr/include/lua${LUA_VERSION}
CXX=g++
CFLAGS=-fPIC
LIBS=-lqalculate
OUTPUT=libqalculate.so
all: qalculator.o
${CXX} ${LIBS} -shared $< -o libqalculator.so
qalculator.o: qalculator.cpp
${CXX} ${INCLUDES} -c $< -o $@ ${CFLAGS}
clean:
${RM} libqalculator.so qalculator.o