luaqalculator/Makefile

17 lines
304 B
Makefile
Raw Permalink Normal View History

2022-11-14 20:59:15 +00:00
LUA_VERSION=5.1
2022-04-10 13:51:58 +00:00
INCLUDES=-I/usr/include/lua${LUA_VERSION}
2022-04-09 18:56:18 +00:00
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