antispam-api

ref: master

./Makefile


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.POSIX:
.SUFFIXES:

GO = go
RM = rm
GOFLAGS =
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man

all: antispam-api

antispam-api: antispam-data
	$(GO) build $(goflags) -o antispam main.go

antispam-data:
	git submodule update --init
	(cd data && make json)

clean:
	$(RM) -rf antispam

.PHONY: antispam antispam-data clean