blob: 4cc804ea84d4c2a9a9f36ab8753385897095cfa8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
SOURCES = $(wildcard *.go) $(wildcard */*.go)
BINARIES = nekoweb nekocrawl
DEPS = github.com/SlyMarbo/rss github.com/abbot/go-http-auth github.com/axgle/mahonia github.com/go-sql-driver/mysql github.com/microcosm-cc/bluemonday
default: $(BINARIES)
$(BINARIES): $(SOURCES)
go build
go build cmd/nekoweb.go
go build cmd/nekocrawl.go
go build cmd/nekoimport.go
.PHONY: deps run
.PHONY: run
deps:
go get $(DEPS)
run:
./nekoweb config.json
|