fedilogue/Makefile

15 lines
444 B
Makefile

FEDILOGUE_GOFILES = fedilogue.go ctl.go headers.go instance.go poll.go stream.go web.go db.go config.go oauth.go
FEDICTL_GOFILES = fedictl.go headers.go
build:
go build -o fedilogue $(FEDILOGUE_GOFILES)
go build -o fedictl $(FEDICTL_GOFILES)
run:
go run $(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