A program to compile assembly from C code.
ChASM stands for C to ASM
To compile, run make compile
in your shell. If you just want to compile the assembly or the binary output, do make compile-asm
or make compile-out
.
To clean, you can run make clean
. Like compiling, you can run make clean-asm
or make clean-out
depending on your needs.
If you compiled the compiled assembly (yes, it compiles to assembly before compiling to machine-code), you can run make run
, just an alias for ./main
.
If you want to compile, run, and clean all at the same time, run make exec
.