Commits

Moritz Heidkamp  committed 488806f

define-target -> define-targets

  • Participants
  • Parent commits eed0244
  • Branches target-based

Comments (0)

Files changed (2)

File ate-impl.scm

   (let ((step (cons dependencies (target-realization path realize))))
     (targets (alist-update! path step (targets) equal?))))
 
-(define-syntax define-target
+(define-syntax define-targets
   (ir-macro-transformer
    (lambda (x i r)
      (let ((first (cadr x)))
        (cond ((symbol? first)
-              `(define ,first (define-target . ,(cddr x))))
+              `(define ,first (define-targets . ,(cddr x))))
              ((string? first)
-              `(define-target (list (list . ,(cdr x)))))
+              `(define-targets (list (list . ,(cdr x)))))
              (else
               `(let ((targets ,first))
                  (for-each (lambda (t)
 
 (targets
  register-target!
- define-target
+ define-targets
  source-directory
  output-directory
  realize-targets)