"Compile Only My Programs" Basically a makefile replacement for small C projects. Think of it as a DIY build system: minimal, transparent, and hackable.
- Simple: one binary + one config file.
- Cross-platform (just needs C and a shell).
- Run build steps in order, exactly as you want.
- Replace makefiles, CMake, and other heavy build systems for small projects.
Compile COMP with your system's C compiler:
gcc comp.c -o comp
Optionally, move the binary to a directory in your PATH for easy access:
mv comp /usr/local/bin/
Create a compile.conf
file in your project directory with the following format:
scripts/build_c.sh
Now run:
./comp
COMP will execute the commands in compile.conf
sequentially.
- Lightweight: No dependencies, just a single C file.
- Hate giant build systems?
- Prefer shell scripts?
- Want full control over build steps?
- Need something quick and dirty for small projects?