Skip to content

Commit 56cd562

Browse files
committed
Add Makefile commands.
1 parent 73d1209 commit 56cd562

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
11
EXES := rubinius/bin/rbx
22
DIST := dist/*
3+
CXX := clang++
34

45
# Allow override (e.g., `make VERSION=1.2.3`)
56
VERSION ?= $(shell (git describe --tags 2>/dev/null || echo "develop") | sed 's/^v//')
67
REVISION ?= $(shell git rev-parse --short HEAD)
78

8-
.PHONY: help setup config install release test clean all
9+
.PHONY: help setup config build install release test clean all
910

10-
all:
11-
@echo Building everything
11+
all: setup config build test
1212

1313
##@ Dependencies
1414
setup: ## Clone all components
1515
@echo Setting up all components
16+
@git submodule update --init --recursive
17+
@./.build2/scripts/setup-build2.sh rbx
1618

1719
config: ## Configure
1820
@echo Configuring all components
21+
@./.build2/scripts/config-build2.sh rbx
1922

2023
##@ Devolpment
2124
build: ## Build all components
2225
@echo Building all components
26+
b
2327

2428
##@ Testing
2529
test: ## Run the tests
2630
@echo Running all tests
31+
b test
2732

2833
##@ Maintenance
2934
clean: ## Remove all build artifacts

0 commit comments

Comments
 (0)