I'm really happy with my current makeFile that allows me to include file from anywhere in the project without writing the relative path as long the file name is unique, which is a good compromise. There is one last itch to scratch:
Included files, either h when used as headers in C, .inc for asm or binary files, etc doesn't make a specific file to be rebuilt since I think the makeFile is not aware of them (they are not part of any rules since they are included in target files).
Since I'm only using makeFile personally and not during work, I rarely have to go deep into the subject. I think what could help fix this issue is something related to DEPS (?) but I don't know if this is really the solution, don't know much about DEPS too and if the linker for cc65 works with that.
Once I figure out that last itch, I don't have to be aware of those file and forcefully clean the project to include those updated files. On a fast computer with SSD it is almost instantaneous so I didn't mind much but my "dinosaur" takes a more time to do so I would prefer to recompile only the files necessary.
Included files, either h when used as headers in C, .inc for asm or binary files, etc doesn't make a specific file to be rebuilt since I think the makeFile is not aware of them (they are not part of any rules since they are included in target files).
Since I'm only using makeFile personally and not during work, I rarely have to go deep into the subject. I think what could help fix this issue is something related to DEPS (?) but I don't know if this is really the solution, don't know much about DEPS too and if the linker for cc65 works with that.
Once I figure out that last itch, I don't have to be aware of those file and forcefully clean the project to include those updated files. On a fast computer with SSD it is almost instantaneous so I didn't mind much but my "dinosaur" takes a more time to do so I would prefer to recompile only the files necessary.