20 lines
489 B
C
20 lines
489 B
C
// x-run: python3 ./add-impl.py && ~/scripts/runc.sh % -Wall -Wextra
|
|
#define CBT_IMPLEMENTATION
|
|
#include "cbt.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
CBT_INIT(argc, argv);
|
|
|
|
cbt_shell(CBT_PROC_AUTO, "sh", "-c", "echo 'owo'");
|
|
|
|
struct cbt_lib raylib = cbt_lib("raylib", "./raylib");
|
|
cbt_lib_src(&raylib, "rcore.c");
|
|
cbt_lib_ldflags(&raylib, "-lm");
|
|
cbt_lib_cflags(&raylib, "-Wall", "-Wextra");
|
|
cbt_lib_build(raylib, NULL);
|
|
cbt_lib_free(raylib);
|
|
|
|
cbt_cleanup();
|
|
return 0;
|
|
}
|