Tool/software: Code Composer Studio
hi,
i'm getting: "warning: ignoring old commands for target" and "warning: overriding commands for target" while building my project.
the project was originally created on CCS5 and I'm using CCS6.
looking on the generated subdir_rules.mk file at the relevant directory I can see there's 2 different build rules for the same obj file, so I assume that's what's causing the problem.
the first rule is basically - <SrcName>.obj: <SrcName>.c $(GEN_OPTS) $(GEN_HDRS)
and the second - <SrcName>.obj: <SrcName>.sa $(GEN_OPTS) $(GEN_HDRS)
so i guess the second one overrides the first.
my question is, how can i change theses rules? specifically, make it dependent at pre-define switch, so if it's defined only the second rule will be applied and vice versa?
thanks in advance,
shay.