]> rtime.felk.cvut.cz Git - omk.git/commit
Removed binary-pass and converted to link-pseudo-pass - it doesn't work
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 29 Oct 2008 17:18:43 +0000 (18:18 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 29 Oct 2008 23:58:38 +0000 (00:58 +0100)
commitb63e8c215b2452c3021c2f44ba2fb8a7ef5d5d6e
tree9fea16d9636c138e438c775761648476727205b4
parent45996dec1b0b7712238f4c5b2f5a048b6072c08c
Removed binary-pass and converted to link-pseudo-pass - it doesn't work

The problem is that link target depends on library-pass and if there are any
compile errors, compilation stops and nothing is linked. The solution is to
convert OMK to non-recursive behavior, i.e. during include-pass (renamed to
prepare-pass) .omkvar and .cmd files would be created and then included to the
top-level make. The top-level make then correctly evaluates dependencies and
compiles everything.
snippets/linux