Commit b3da7aa
committed
Make 'patch' a proper prerequisite of the libdgl build
The patch step modifies lib/DPF/dgl/Widget.hpp (adds 'virtual' to
setVisible), and the dpf target compiles libdgl from those headers.
Previously 'all: patch build generate_ttl' listed them as siblings,
which serial make handles correctly (prerequisites processed
left-to-right) but parallel make does not: with -j N, patch and dpf
could run concurrently and libdgl could be built against unpatched
headers.
Add 'dpf: patch' to express the actual dependency, and drop 'patch'
from all's prereq list since it's now reached transitively via
all -> build -> common -> dpf -> patch.
This lets downstream packagers run plain 'make -j N' without an
explicit 'make patch' first. Verified by full parallel rebuild
from a clean tree: Widget.hpp ends up patched, libdgl builds
against patched headers, all four plugin formats build, TTL files
generate.1 parent a62b02e commit b3da7aa
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments