IEEE-VIT / termiboard

A smart CLI Dashboard to fetch cpu, memory and network stats!
MIT License
35 stars 16 forks source link

Add Makefile #41

Closed MistaTwista closed 3 years ago

MistaTwista commented 3 years ago

Makefile help newcomers to understand what to do with project.

By running:

$ make help

or just

$ make

there will be help message with all available commands.

Help message parsed from Makefile itself, by finding ## comments after command name.

Currently usefull commands are:

On top of Makefile there are variables for all these commands, like:

LDFLAGS used on binary compilation, to inject some build data and get this information inside app.

Also this commit contains small changes in forming of version string

There is a good practices to add version with git tags, but also a commit message and build date.

MistaTwista commented 3 years ago

Added make clean command