I think it is meant to be that way. At least that's what the docs suggest.
As far as I understand it, it is like this:
$(LINKER) $(PRE_TARGETDEPS) -o $(TARGET) $(POST_TARGETDEPS)
So both PRE and POST have to be built before the actual target. Those variables only determine the moment when they will be linked (the order of linked libraries is sometimes important).






Reply With Quote
Bookmarks