16 lines
275 B
Makefile
16 lines
275 B
Makefile
BIN_DIR := .
|
|
LELD := $(BIN_DIR)/leld
|
|
LELCTL := $(BIN_DIR)/lelctl
|
|
CONFIG := $(HOME)/.config/lel/config.json
|
|
|
|
.PHONY: build run clean
|
|
|
|
build:
|
|
go build -o $(LELD) ./cmd/leld
|
|
go build -o $(LELCTL) ./cmd/lelctl
|
|
|
|
run:
|
|
$(LELD) --config $(CONFIG)
|
|
|
|
clean:
|
|
rm -f $(LELD) $(LELCTL)
|