mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Build the tools.
This commit is contained in:
@@ -165,6 +165,7 @@ clibrary {
|
||||
"+zlib_dep",
|
||||
"dep/libusbp+libusbp",
|
||||
},
|
||||
dep_cflags = { "-Ilib", "-Iarch", "-I." },
|
||||
vars = {
|
||||
["+cflags"] = { "-Ilib", "-Iarch", "-I." }
|
||||
}
|
||||
@@ -175,6 +176,9 @@ installable {
|
||||
map = {
|
||||
["fluxengine"] = "src+fluxengine",
|
||||
["fluxengine-gui"] = "src/gui+fluxengine",
|
||||
["brother120tool"] = "tools+brother120tool",
|
||||
["brother240tool"] = "tools+brother240tool",
|
||||
["upgrade-flux-file"] = "tools+upgrade-flux-file",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
26
tools/build.lua
Normal file
26
tools/build.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
cprogram {
|
||||
name = "brother120tool",
|
||||
srcs = { "./brother120tool.cc" },
|
||||
deps = { "~+libfluxengine" },
|
||||
}
|
||||
|
||||
cprogram {
|
||||
name = "brother240tool",
|
||||
srcs = { "./brother240tool.cc" },
|
||||
deps = { "~+libfluxengine" },
|
||||
}
|
||||
|
||||
dependency {
|
||||
name = "sqlite3_dep",
|
||||
pkg_config = "sqlite3"
|
||||
}
|
||||
|
||||
cprogram {
|
||||
name = "upgrade-flux-file",
|
||||
srcs = { "./upgrade-flux-file.cc" },
|
||||
deps = {
|
||||
"~+libfluxengine",
|
||||
"+sqlite3_dep"
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user