wheat-cache/makefile

18 lines
293 B
Makefile

BASE_PATH = $(shell pwd)
STORAGE_PATH = $(BASE_PATH)/storage
BASE_OUT = $(BASE_PATH)/bin
dcgen:
@python3 ./shell/proto.py
.PHONY : build
build:
@cd storage && go build -o $(BASE_OUT)/storage
.PHONY: install
install:
@make build
.PHONY: dev
dev:
@./bin/storage storage