1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
mal/make/rules.mk
Joel Martin cc021efe10 Add step5/9 tests for impls that support it.
- Also remove broken make/tests/*.mk tests. Not used any more.
2014-04-27 17:58:48 -05:00

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