Content originally posted in LPCWare by Rob65 on Tue Jan 10 16:03:17 MST 2012
Same thing happens here.
The poject MyLib is selected as a project reference in TryLib and MyLib is correctly being included as library during linking.
MyLib contains a function that is used in TryLib (the test application).
If I import the projects and compile, everything works OK (the first time).
But when I now change MyLib (I changed the name of the function) and then perform a "Build 'TryLib'" I do see that a new .lib file is being created but the MyLib project just states that it is up to date.
When I clean the trylib project it is (of course) being compiled and linked and linking now fails - as expected.
When I look at the makefile, there is no dependency on the .lib file. And I am not able to find how to set this correctly.
In fact, the makefile(s) are a bit strange: objects.mk does contain a reference to all libs but the directories for this libs are hard coded in the gcc line in makefile.
So the LPCXpresso tools do traverse through all the projects that we identified we depend on, but the makefile contains no dependency rule for the output files of those projects :eek:
I am a bit disappointed by the way in which the makefiles are being used.
It's hardly usable for a larger scale system with multiple projects and I am just an inch away from abandoning LPCXpresso's autmagic makefile generation :confused:
Regards,[INDENT]Rob
[/INDENT]