Commit Graph

3 Commits

Author SHA1 Message Date
6c3787ef1b Refactored to use .ONESHELL
This makes it a hell of a lot simpler but will lose support for BSD
make. All effected machines are running gnu-make, so the cost benefit
ratio ways heavily in favor of doing this.
2020-03-09 13:37:50 -04:00
578b14331f Added emacs modeline like feature. 2019-12-11 00:55:57 -05:00
e49934c99d Adding shared makefile logic and helper scripts
Shared logic can be imported via `include ../lib/shared.mk`
Helper functions include 3 current opperations

1. mk_link:: This will create a symbolic link if the file doesn't already exist.
2. rm_link:: Will remove the link if it is a symlink.
3. report :: This color codes the status of a message and adds a leading symbol.

report also can be called with `LAST_RETURN=$? report "message"`
and will expand this to be either `report info "message"` Or `report error
"message"` based on the last return value.
Current status are info, warn, and error.
2019-04-27 18:09:36 -04:00