feat: add sample Makefile which uses the modules
This commit is contained in:
parent
dbe9e97f62
commit
88543836ce
1 changed files with 34 additions and 3 deletions
37
Makefile
37
Makefile
|
@ -1,4 +1,35 @@
|
|||
# Usage example
|
||||
|
||||
##
|
||||
## Local configuration
|
||||
##
|
||||
|
||||
##
|
||||
## Configuration of input variables for libraries
|
||||
##
|
||||
PLANTUML_SRC_DIR = $(SOURCE_DIR)/plantuml
|
||||
PLANTUML_DEST_DIR = $(IMAGES_DIR)/plantuml
|
||||
|
||||
MOCODO_SRC_DIR = $(SOURCE_DIR)/mocodo
|
||||
MOCODO_DEST_DIR = $(IMAGES_DIR)/mocodo
|
||||
|
||||
GRAPHVIZ_SRC_DIR = $(SOURCE_DIR)/graphviz
|
||||
GRAPHVIZ_DEST_DIR = $(IMAGES_DIR)/graphviz
|
||||
|
||||
##
|
||||
## Include libraries
|
||||
##
|
||||
include mocodo.mk
|
||||
include dot.mk
|
||||
include plantuml.mk
|
||||
|
||||
##
|
||||
## Rules
|
||||
##
|
||||
|
||||
.PHONY: build
|
||||
build: plantuml-build mocodo-build graphviz-build
|
||||
|
||||
.PHONY: clean
|
||||
clean: plantuml-clean mocodo-clean graphviz-clean
|
||||
|
||||
-include mocodo.mk
|
||||
-include dot.mk
|
||||
-include plantuml.mk
|
||||
|
|
Loading…
Reference in a new issue