skywind3000/emake
你见过的最简单的 GCC/CLANG 项目构建工具,定义式构建,比命令式更简单
🛠️ Simple definition‑based C/C++ build tool
Tiny single‑file tool that turns source files into compiled binaries without Makefiles or CMake. emake is a lightweight, definition‑based build system created by skywind3000. It lets you describe source files, flags and targets in a simple text file or inline comments, then handles dependency checking, parallel compilation and multi‑mode output. The result is a much simpler alternative to GNU Make and CMake for small to medium projects.
✨ Highlights
- Simple setup: Define source files, compile flags and output target; emake does the rest.
- Dependency analysis: Fast analysis of header dependencies to decide what needs recompiling.
- Multi‑mode output: Supports executables, static libraries (.a) and shared libraries (.so/.dll).
- Parallel builds: Lightweight multi‑core compilation speeds up builds.
- Single file: Only emake.py is required; no intermediate Makefile or .sln files.
- Cross‑compilation: Build for iOS, Android, Windows, macOS, FreeBSD and other platforms.
- Language support: Works with C, C++, ObjC, ObjC++, assembly and clang/gcc/mingw toolchains.
💡 Why it matters
Because emake is definition‑based rather than command‑based, it eliminates the boilerplate and complexity of Makefiles and CMake while still providing fast incremental builds and parallel compilation. It is ideal for quick prototypes, personal experiments and production projects that need simple, reliable builds across multiple platforms.
#BuildTool #CMakeAlternative #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
A fast, cross-platform build tool inspired by Make, designed for modern workflows.
Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)