Add makefile and improve error message for no args

This commit is contained in:
2020-12-04 23:44:19 -08:00
parent 3e8b84b959
commit 7f3a95855c
2 changed files with 8 additions and 0 deletions

7
Makefile Normal file
View File

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