blob: 0d8853eb362424763ee26596fb39d8cc27ffd361 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
TARGET_EXEC := ceres
BUILD_DIR := ./build
MODULE_NAME := xengineering.eu/ceres
all: $(BUILD_DIR)/$(TARGET_EXEC)
$(BUILD_DIR)/$(TARGET_EXEC):
go build -o $@ $(MODULE_NAME)
.PHONY: debug
debug:
go run -race $(MODULE_NAME) -e
.PHONY: tests
tests:
go test $(MODULE_NAME)/...
.PHONY: clean
clean:
rm -rf $(BUILD_DIR)
|