RepositoryPython
skywind3000

skywind3000/emake

你见过的最简单的 GCC/CLANG 项目构建工具,定义式构建,比命令式更简单

911stars
122forks
11issues
2views

🛠️ 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.

RepositoryC
bkaradzic/GENie

GENie - Project generator tool

994
Aug 21, 2026
RepositoryGo
dreadl0ck/zeus

An Electrifying Build System

200
Oct 24, 2025
RepositoryC++
OpenRCT2/OpenRCT2

An open source re-implementation of RollerCoaster Tycoon 2 🎢

16.6k
Nov 28, 2026
RepositoryGo
go-task/task

A fast, cross-platform build tool inspired by Make, designed for modern workflows.

16.4k
Dec 1, 2026
RepositoryLua
xmake-io/xmake

🔥 A cross-platform build utility based on Lua

12.3k
Nov 30, 2026
RepositoryGo
tj/mmake

Modern Make

1.7k
Jul 1, 2023
RepositoryShell
webpro/dotfiles

Dotfiles for macOS

1.2k
Nov 23, 2026
RepositoryGo
checkmake/checkmake

Linter/analyzer for Makefiles

1.2k
Nov 23, 2026
RepositoryStarlark
bazel-contrib/rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)

739
Nov 14, 2026