Split program into 3 binaries
This commit is contained in:
parent
04fa3fe354
commit
bab60ec856
2 changed files with 12 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -1,6 +1,10 @@
|
||||||
|
|
||||||
BINARIES=hodler
|
BINARIES=hodlerctl hodlertui hodlerweb
|
||||||
hodler_FILES=$(wildcard src/*.cr src/**/*.cr)
|
|
||||||
|
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)
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,12 @@ description: |
|
||||||
Crypto-currencies porfolio monitoring tool
|
Crypto-currencies porfolio monitoring tool
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
hodler:
|
hodlerctl:
|
||||||
main: src/main.cr
|
main: src/hodlerctl/main.cr
|
||||||
|
hodlertui:
|
||||||
|
main: src/hodlertui/main.cr
|
||||||
|
hodlerweb:
|
||||||
|
main: src/hodlerweb/main.cr
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Handle XDG environment variables
|
# Handle XDG environment variables
|
||||||
|
|
Loading…
Reference in a new issue