Restructure project

This commit is contained in:
2021-07-08 13:11:41 -07:00
parent 8099077c50
commit 74c6391dca
12 changed files with 43 additions and 369 deletions

View File

@@ -1,7 +1,7 @@
GOBUILD ?= go build
all: main.go logging.go keyExchange.go keyCrypto.go files.go fileCrypto.go deviceDiscovery.go config.go
$(GOBUILD)
all: cmd/opensend/main.go
$(GOBUILD) ./cmd/opensend
install: opensend opensend.toml
install -Dm755 opensend $(DESTDIR)/usr/bin/opensend