Linaro / OpenCSD

CoreSight trace stream decoder developed openly
https://github.com/Linaro/opencsd/wiki
Other
141 stars 53 forks source link

object files don't get rebuilt when their dependent header files change #11

Closed kim-phillips-arm closed 7 years ago

kim-phillips-arm commented 7 years ago
$ git describe 
v0.7.2-8-gdd48085b3f61
$ pwd
/home/kim/git/OpenCSD-lib/decoder/build/linux
$ make -j 8 |& grep -iwc  "g++ -c"
0
$ touch ../../../decoder/source/ptm/trc_pkt_proc_ptm.cpp
$ make -j 8 |& grep -iwc  "g++ -c"
1
$ make -j 8 |& grep -iwc  "g++ -c"
0
$ touch ../../../decoder/include/ptm/trc_pkt_proc_ptm.h
$ make -j 8 |& grep -iwc  "g++ -c"
0
$ 

That last 0 should be 1, since trc_pkt_proc_ptm.cpp #includes trc_pkt_proc_ptm.h.

mikel-armbb commented 7 years ago

Issue addressed in release v0.7.5. Makefiles updated to calculate and use dependencies.