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.

20 lines
333 B

1 month ago
# Makefile for lsqlite3 library for Lua
LIBNAME= lsqlite3
LUAEXE= lua
ROCKSPEC= $(shell find . -name $(LIBNAME)-*-*.rockspec)
all: install
install:
luarocks make $(ROCKSPEC)
test:
$(LUAEXE) test/test.lua
$(LUAEXE) test/tests-sqlite3.lua lsqlite3
$(LUAEXE) test/tests-sqlite3.lua lsqlite3complete
.PHONY: all test install