HCoop
/
jackhill
/
mal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
DISABLE FDs (REMOVE ME).
[jackhill/mal.git]
/
make
/
rules.mk
1
# To load this file:
2
# $(eval include rules.mk)
3
4
# Usage:
5
# (make* "$(eval $(call PRINT_RULE,abc,,@echo \"building $$@\"))")
6
define
PRINT_RULE
7
$(
1
): $(
2
)
8
$(
3
)
9
endef
10
11
# Usage:
12
# (make* "$(eval $(call PRINT_LINES,abc:, @echo \"shell command\"))")
13
define
PRINT_LINES
14
$(
1
)
15
$(
2
)
16
$(
3
)
17
$(
4
)
18
$(
5
)
19
$(
6
)
20
$(
7
)
21
$(
8
)
22
$(
9
)
23
$(
10
)
24
$(
11
)
25
$(
12
)
26
$(
13
)
27
$(
14
)
28
$(
15
)
29
$(
16
)
30
$(
17
)
31
$(
18
)
32
$(
19
)
33
$(
20
)
34
endef