This makefile provides rules to compile, link, and clean up the hsh project. The project is a simple shell program implemented in C language.
clone this repo to your simple shell folder and mv the makefile from my folder to your working directory.
To compile the project and create the hsh
executable, run the following command:
make
To run the betty
style checker on all C source files, run the following command:
make betty
To run the valgrind
memory checker on the hsh
executable, run the following command:
make valgrind
To remove all object files and the hsh
executable, run the following command:
make clean
gcc
compilervalgrind
memory checker (optional)betty
style checker (optional)
This makefile was written by zrdouane.