mirror of
https://github.com/appen-isen/projet-cal.git
synced 2026-01-18 16:47:38 +01:00
16 lines
323 B
Makefile
16 lines
323 B
Makefile
# Variables
|
|
BACKEND_DIR=backend
|
|
BACKEND_BINARY=backend
|
|
|
|
# Règles
|
|
all: build-backend start-backend
|
|
|
|
build-backend:
|
|
@echo "Building backend..."
|
|
cd $(BACKEND_DIR) && go build -o $(BACKEND_BINARY)
|
|
|
|
start-backend:
|
|
@echo "Starting backend..."
|
|
cd $(BACKEND_DIR) && ./$(BACKEND_BINARY)
|
|
|
|
.PHONY: all build-backend start-backend |