Each program had its own recipe: a hand-written link list, a cd into tests/ so its includes would not find the modules' namesakes, and a renamed output so csc would not overwrite the module sexc.o. Read off their imports like the modules', and compiled to an object named after their source, they share one rule; include-relative ends the cd.
19 lines
476 B
Scheme
19 lines
476 B
Scheme
(import
|
|
test)
|
|
|
|
(include-relative "basic.scm")
|
|
(include-relative "semen.scm")
|
|
(include-relative "reader.scm")
|
|
(include-relative "fmt-c-writer.scm")
|
|
(include-relative "utils.scm")
|
|
(include-relative "line-directives.scm")
|
|
(include-relative "codegen.scm")
|
|
(include-relative "encapsulation.scm")
|
|
(include-relative "args.scm")
|
|
(include-relative "module-path.scm")
|
|
(include-relative "types.scm")
|
|
(include-relative "infer.scm")
|
|
|
|
;;; Should be the last in the test suite
|
|
(test-exit)
|