scsh-make/make.scm

10 lines
327 B
Scheme
Raw Normal View History

(define (make rcs targets . maybe-arg)
(let-optionals maybe-arg ((init-state (list)))
(let* ((rules (rcs->rules rcs))
(rule-set (rules->rule-set rules))
(target-rules (map (lambda (t) (lookup-rule t rules))
targets)))
2005-02-14 02:35:46 -05:00
(map (lambda (t)
(rule-make t init-state rule-set))
target-rules))))