新增基于 Python 的构建脚本 `cbuild.py`,支持包管理、依赖解析和模块化编译。 同时添加 `.gitignore` 忽略 `build` 目录,并在 `justfile` 中更新构建命令。 移除了原有的 `lib/Makefile` 和主目录下的相关 make 规则,统一使用新构建系统。
9 lines
139 B
C
9 lines
139 B
C
#include <stdio.h>
|
|
#include <add.h>
|
|
|
|
int main() {
|
|
printf("Hello World!\n");
|
|
printf("Add 1 + 1 = %d\n", add(1, 1));
|
|
return 0;
|
|
}
|