Refactor the build process. Piggyback on remake's dependency tracking
authorKim Nguyễn <kn@lri.fr>
Wed, 24 Jul 2013 20:52:03 +0000 (22:52 +0200)
committerKim Nguyễn <kn@lri.fr>
Wed, 24 Jul 2013 20:52:03 +0000 (22:52 +0200)
commit31514b441ce29f78c114e9d912ba09f37f91d257
treee46789b18711edcae69ba379eba8d36732c64fde
parentf7a43114461b09d79c94a0da51ffbe1aea43dc55
Refactor the build process. Piggyback on remake's dependency tracking
to perform a topological sort of the object files, used during linking.
This is done by generating a .dep file for each object file keeping in
a .dep the transitive closure of its dependencies.
Also, packed modules must now be described by:
- a directory
- a file with the .pack extension, with the same basename as the directory,
listing the module names (relative to the directory containing the .ml files)
.gitignore
Remakefile.in
src/xpath.pack [new file with mode: 0644]
tools/ocamlmoduledep.sh