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