num-traits/Makefile

15 lines
247 B
Makefile
Raw Normal View History

2016-03-04 11:32:44 +00:00
CARGO_CMD ?= cargo
2016-03-25 23:40:55 +00:00
packages = bigint complex integer iter rational traits
2016-03-04 11:32:44 +00:00
test:
2016-03-25 11:53:34 +00:00
$(MAKE) run-all TASK="test"
2016-03-04 11:32:44 +00:00
run-all: $(packages)
$(CARGO_CMD) $(TASK)
$(packages):
$(CARGO_CMD) $(TASK) --manifest-path $@/Cargo.toml
.PHONY: $(packages) test