Files
meowc/examples/hello/build.meow
T
sneeker 776f5315d4 feat(examples): add a hello project with a library and a consumer
Smallest project that exercises the whole pipeline: one static library and one
executable that links against it.
2022-06-26 15:32:31 +00:00

20 lines
249 B
Plaintext

project hello
toolchain {
cc clang
cflags -O2 -Wall -Wextra -std=c17
}
lib mathx {
srcs src/mathx/*.c
include include
ldflags -lm
}
bin hello {
srcs src/main.c
include include
use mathx
define GREETING="meow"
}