write a make rule for the modules a unit reads

An import pastes another file's forms into the output, so a Makefile
had to make every object depend on every .sex. --depfile names the
modules read, including those read only for an import's interface,
with an empty rule for each, as cc -MD -MP does.

Fixes #40.
This commit is contained in:
2026-10-09 17:44:36 +03:00
parent b717aa808d
commit a6689b8c81
5 changed files with 69 additions and 4 deletions

View File

@@ -2,5 +2,6 @@
(get-modules-public-forms
load-persistent-module-paths
check-public-interface
module-dependencies
read-public-interface)
"sex-modules.scm")