fedilogue/Makefile

15 lines
508 B
Makefile
Raw Normal View History

FEDILOGUE_GOFILES = fedilogue.go ctl.go headers.go instance.go poll.go stream.go web.go db.go config.go oauth.go retrieve.go log.go uniquefifo.go
FEDICTL_GOFILES = fedictl.go headers.go log.go uniquefifo.go
build:
go build -o fedilogue $(FEDILOGUE_GOFILES)
go build -o fedictl $(FEDICTL_GOFILES)
run:
go run $(FEDILOGUE_GOFILES)
acctkey:
mkdir -p keys
openssl genrsa -out keys/acctprivate.pem 1024
openssl rsa -in keys/acctprivate.pem -pubout -out keys/acctpublic.pem
clean:
rm -f fedilogue fedictl