makefiles-forever/README.md

31 lines
778 B
Markdown
Raw Normal View History

2021-07-14 22:43:29 +00:00
# Makefiles Forever
2021-07-14 22:38:16 +00:00
2021-07-14 22:43:29 +00:00
A drop-in collection of makefiles libraries for your projects
2021-07-14 22:38:16 +00:00
## Description
* plantuml.makefile — Build [plantuml](https://plantuml.com/) diagrams
* dot.mk — Build [graphviz](https://graphviz.org/) graph diagrams
* mocodo.mk — Build [mocodo](http://mocodo.wingi.net/) entity-relation and logical diagrams
## Usage
* Add this repository as a GIT submodule of your project
2021-07-14 22:39:47 +00:00
```
2021-07-14 22:40:50 +00:00
git submodule add https://github.com/glenux/makefiles-forever .makefiles
2021-07-14 22:39:47 +00:00
```
2021-07-14 22:41:52 +00:00
* Include needed features in the end of your makefile
2021-07-14 22:39:47 +00:00
```
2021-07-14 22:41:52 +00:00
# [...]
2021-07-14 22:40:50 +00:00
-include .makefiles/featureA.mk
2021-07-14 22:41:52 +00:00
-include .makefiles/featureB.mk
2021-07-14 22:39:47 +00:00
```
2021-07-14 22:38:16 +00:00
## Good practices
* Keep task parallelism in mind
* Make all targets available from root makefile
* Do not descend in subdirectories