build the programs the way the modules are built
All checks were successful
Sex CI / build-linux (pull_request) Successful in 5m17s

Each program had its own recipe: a hand-written link list, a cd into
tests/ to keep its includes off the modules' namesakes, and an output
renamed so as not to overwrite sexc.o. Read off their imports and built
from an object named after their source, they share one rule.
This commit is contained in:
2026-10-19 21:49:43 +03:00
parent faa9036dcc
commit 67749c8db0
3 changed files with 134 additions and 87 deletions

View File

@@ -1,18 +1,18 @@
(import
test)
(include "basic.scm")
(include "semen.scm")
(include "reader.scm")
(include "fmt-c-writer.scm")
(include "utils.scm")
(include "line-directives.scm")
(include "codegen.scm")
(include "encapsulation.scm")
(include "args.scm")
(include "module-path.scm")
(include "types.scm")
(include "infer.scm")
(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)