-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
64 lines (50 loc) · 1.28 KB
/
Copy pathmakefile
File metadata and controls
64 lines (50 loc) · 1.28 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
SHELL = /bin/sh
prefix ?= /usr/local
insdir = $(DESTDIR)$(prefix)/include
srcdir = src
srcfls = $(patsubst $(srcdir)/%,%,$(shell find $(srcdir) -name *.hxx))
dstdrs = $(patsubst $(srcdir)/%,$(insdir)/%,$(shell find $(srcdir) -type d))
check:
@$(MAKE) -C test check
@$(MAKE) -C examples check
check-json:
@$(MAKE) -C test check-json
check-json-node:
@$(MAKE) -C test check-json-node
time:
@$(MAKE) -C test time
time-json:
@$(MAKE) -C test time-json
time-json-s1:
@$(MAKE) -C test time-json-s1
time-json-s2:
@$(MAKE) -C test time-json-s2
time-json-node-s1:
@$(MAKE) -C test time-json-node-s1
time-json-node-s2:
@$(MAKE) -C test time-json-node-s2
time-json-native-s1:
@$(MAKE) -C test time-json-native-s1
time-json-native-s2:
@$(MAKE) -C test time-json-native-s2
build:
@$(MAKE) -C test build
build-json:
@$(MAKE) -C test build-json
build-json-node:
@$(MAKE) -C test build-json-node
install:
@install -d $(dstdrs)
@for fl in $(srcfls) ; do \
install -p -m 0644 $(srcdir)/$$fl $(insdir)/$$fl ; \
done
uninstall:
@rm -fr $(insdir)/cxon
clean:
@$(MAKE) -C test clean
@$(MAKE) -C examples clean
.PHONY: check check-json check-json-node \
time time-json time-json-node time-json-native \
build build-json build-json-node \
install uninstall \
clean