forked from pmolodo/Pinocchio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 738 Bytes
/
Makefile
File metadata and controls
40 lines (31 loc) · 738 Bytes
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
# Makefile for Pinocchio
dirs = Pinocchio AttachWeights
# DemoUI is a windows prog, and on windows, VisualC++ is used,
# so we can ignore it here
# dirs = Pinocchio AttachWeights DemoUI
# Define a standard makePerDir command, which goes into
# each dir, and runs make $(makerule)
define makePerDir
for dir in $(dirs); \
do \
cd $$dir && { $(MAKE) $(makerule); cd ..; }; \
done
endef
nullstring :=
all: makerule = $(nullstring)
depend: makerule = depend
clean: makerule = clean
all depend clean:
$(makePerDir)
#all:
# cd Pinocchio && $(MAKE)
# cd DemoUI && $(MAKE)
#
#depend:
# cd Pinocchio && $(MAKE) depend
# cd DemoUI && $(MAKE) depend
#
#clean:
# cd Pinocchio && $(MAKE) clean
# cd DemoUI && $(MAKE) clean
# DO NOT DELETE