From 3e3b944e4809b8aa0bc02366ec2176ed13786be9 Mon Sep 17 00:00:00 2001 From: Alexander Polynomdivision Date: Wed, 3 Oct 2018 21:06:07 +0200 Subject: [PATCH] build: Improve the toplevel Makefile --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3ac4dd9..250aaac 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,17 @@ .PHONY: frontend -frontend: - $(MAKE) -C frontend/ build +production: + @echo Building the frontend + $(MAKE) -C frontend/ prod -backend: - $(MAKE) -C backend/ build + @echo Building the backend + $(MAKE) -C backend/ prod + +development: + @echo Building the frontend + $(MAKE) -C frontend/ dev + + @echo Building the backend + $(MAKE) -C backend/ dev .PHONY: todo todo: