support for installing liba.pyi during pip install
[liba.git] / test / make.lua
blob1a94c8ce5e8cf26369d4108a8a61d5bac136a69f
1 local lm = require("luamake")
2 lm:source_set("a.o")({
3 defines = { "A_EXPORTS" },
4 includes = { "../include" },
5 sources = { "../src/*.c*" },
6 links = lm.os ~= "windows" and { "m" } or {},
7 })
8 local executable = function(target)
9 lm:executable(target)({
10 defines = { "HAS_CXX" },
11 includes = { "../include" },
12 sources = { target .. ".c*" },
13 deps = { "a.o" },
15 end
16 executable("a")
17 executable("avl")
18 executable("buf")
19 executable("complex")
20 executable("crc")
21 executable("hpf")
22 executable("list")
23 executable("lpf")
24 executable("math")
25 executable("mf")
26 executable("notefreqs")
27 executable("operator")
28 executable("pid")
29 executable("pid_expert")
30 executable("pid_fuzzy")
31 executable("pid_neuro")
32 executable("poly")
33 executable("que")
34 executable("rbt")
35 executable("slist")
36 executable("str")
37 executable("test")
38 executable("tf")
39 executable("trajbell")
40 executable("trajpoly3")
41 executable("trajpoly5")
42 executable("trajpoly7")
43 executable("trajtrap")
44 executable("utf")
45 executable("vec")
46 executable("version")