From 88543836ce832a2c13f0cc9c899c0486f0e8a9a0 Mon Sep 17 00:00:00 2001 From: Glenn Date: Fri, 5 Jan 2024 23:03:29 +0100 Subject: [PATCH] feat: add sample Makefile which uses the modules --- Makefile | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f08136c..512c8b6 100644 --- a/Makefile +++ b/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