build: Improve the toplevel Makefile

This commit is contained in:
Alexander Polynomdivision 2018-10-03 21:06:07 +02:00
parent 8cf4c3f5bc
commit 3e3b944e48

View File

@ -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: