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
|
||||
hodler_FILES=$(wildcard src/*.cr src/**/*.cr)
|
||||
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)
|
||||
|
||||
all: build
|
||||
|
||||
|
|
|
@ -9,8 +9,12 @@ description: |
|
|||
Crypto-currencies porfolio monitoring tool
|
||||
|
||||
targets:
|
||||
hodler:
|
||||
main: src/main.cr
|
||||
hodlerctl:
|
||||
main: src/hodlerctl/main.cr
|
||||
hodlertui:
|
||||
main: src/hodlertui/main.cr
|
||||
hodlerweb:
|
||||
main: src/hodlerweb/main.cr
|
||||
|
||||
dependencies:
|
||||
# Handle XDG environment variables
|
||||
|
|
Loading…
Reference in a new issue