hodler/Makefile

20 lines
482 B
Makefile
Raw Normal View History

2021-03-31 19:36:03 +00:00
2021-04-04 21:37:02 +00:00
BINARIES=hodlerctl hodlertui hodlerweb
lib_FILES=$(wildcard src/lib/*.cr src/lib/**/*.cr)
hodlerctl_FILES=$(wildcard src/hodlerctl/*.cr src/hodlerctl/**/*.cr) $(lib_FILES)
hodlertui_FILES=$(wildcard src/hodlertui/*.cr src/hodlertui/**/*.cr) $(lib_FILES)
hodlerweb_FILES=$(wildcard src/hodlerweb/*.cr src/hodlerweb/**/*.cr) $(lib_FILES)
2021-04-04 12:55:38 +00:00
2021-03-31 19:36:03 +00:00
all: build
2021-04-04 12:55:38 +00:00
build: ## Build binaries
clean: ## Clean binaries
2021-03-31 19:36:03 +00:00
2021-04-04 12:55:38 +00:00
.PHONY: clean build all
2021-03-31 19:36:03 +00:00
2021-04-04 12:55:38 +00:00
## Add targets for crystal
include tasks/crystal.mk
2021-03-31 19:36:03 +00:00