Possibly you need to build it using gcc, for example: 'gcc -c foo.S'.
There's probably also an option to the assembler to force the preprocessing.