Skip to content

asmtilde/comp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMP

"Compile Only My Programs" Basically a makefile replacement for small C projects. Think of it as a DIY build system: minimal, transparent, and hackable.

Features

  • 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.

Installation

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/

Usage

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.

Why?

  • 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?

About

Compile only my files

Resources

Stars

Watchers

Forks