mirror of
https://github.com/kanaka/mal.git
synced 2024-11-11 00:52:44 +03:00
cc021efe10
- Also remove broken make/tests/*.mk tests. Not used any more.
35 lines
388 B
Makefile
35 lines
388 B
Makefile
# To load this file:
|
|
# $(eval include rules.mk)
|
|
|
|
# Usage:
|
|
# (make* "$(eval $(call PRINT_RULE,abc,,@echo \"building $$@\"))")
|
|
define PRINT_RULE
|
|
$(1): $(2)
|
|
$(3)
|
|
endef
|
|
|
|
# Usage:
|
|
# (make* "$(eval $(call PRINT_LINES,abc:, @echo \"shell command\"))")
|
|
define PRINT_LINES
|
|
$(1)
|
|
$(2)
|
|
$(3)
|
|
$(4)
|
|
$(5)
|
|
$(6)
|
|
$(7)
|
|
$(8)
|
|
$(9)
|
|
$(10)
|
|
$(11)
|
|
$(12)
|
|
$(13)
|
|
$(14)
|
|
$(15)
|
|
$(16)
|
|
$(17)
|
|
$(18)
|
|
$(19)
|
|
$(20)
|
|
endef
|