Mixed soft and hard tabs in makefiles


i’m usually using soft tabs in code, with the exception of makefiles, where hard tabs to indent recipes are mandatory. the package language-make helps to set hard tabs for the scope source.makefile.

now i would like use hard tabs in makefiles only for recipe indentation (i.e.: at start of line) and use soft tabs in other places (i.e. to align assignments, not at start of line), example:

SOME_VAR         := value1     # use soft tabs aka whitespaces in this line



can anyone help me to configure atom to use hard tabs at start of line and soft tabs everywhere else?