-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
51 lines (37 loc) · 814 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
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
# After editing the DIRS= list or adding imports to any Go files
# in any of those directories, run:
#
# ./deps.bash
#
# to rebuild the dependency information in Make.deps.
all: install
DIRS=\
pepys\
pepys/server\
pepys/client\
NOTEST=\
pepys\
pepys/server\
pepys/client\
EXAMPLES=\
pepys/server/examples\
pepys/client/examples\
clean.dirs: $(addsuffix .clean, $(DIRS))
clean.dirs: $(addsuffix .clean, $(EXAMPLES))
install.dirs: $(addsuffix .install, $(DIRS))
nuke.dirs: $(addsuffix .nuke, $(DIRS))
examples.dirs: $(addsuffix .examples, $(EXAMPLES))
%.clean:
+cd $* && gomake clean
%.install:
+cd $* && gomake install
%.nuke:
+cd $* && gomake nuke
%.test:
+cd $* && gomake test
%.examples:
+cd $* && gomake
clean: clean.dirs
install: install.dirs
nuke: nuke.dirs
examples: examples.dirs