-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
26 lines (18 loc) · 779 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
example: build libwidmann libwidmannserver
rust build -L rust-http/build/ -L rust-pcre/build/ -L build examples/example.rs --out-dir build
test: build knob rust-http/build rust-pcre/build example
rust build --test -L rust-http/build/ -L rust-pcre/build/ -L build src/libwidmann/lib.rs --out-dir build
build/lib
libwidmann: build knob rust-http/build rust-pcre/build
rust build -L rust-http/build/ -L rust-pcre/build/ -L build src/libwidmann/lib.rs --out-dir build
libwidmannserver: build rust-http/build
rust build -L rust-http/build/ -L rust-pcre/build/ -L build src/libwidmannserver/lib.rs --out-dir build
rust-http/build:
cd rust-http && make
rust-pcre/build:
cd rust-pcre && make
build:
mkdir -p build
knob:
rustpkg install github.com/skade/knob
.PHONY: test