Collection of Tupfiles
- Clone this repository or add it as a submodule
- Write Tupfile.lua.
-- Example Tupfile.lua
tup.include('tupco/unit.lua')
local gcc = toolchains.gcc
local executable = gcc.executable
all = unit {
recipes = {
["main"] = executable {
sources = { 'src/main.c' },
}
},
profiles = {
gcc.profiles.debug,
}
}
- Run tup.