remove redundant includes
[liba.git] / make.lua
blob50a29cc086ab149ecc39fecd5739a7bef05510d8
1 local lm = require("luamake")
2 lm.workdir = WORKDIR
3 lm:source_set("a")({
4 defines = { "A_EXPORTS" },
5 includes = { "include" },
6 sources = { "src/*.c*" },
7 flags = lm.os ~= "windows" and { "-fPIC" } or {},
8 links = lm.os ~= "windows" and { "m" } or {},
9 })
10 lm:static_library("alib")({
11 basename = "a",
12 deps = { "a" },
14 lm:shared_library("liba")({
15 deps = { "a" },