Never mind, I figured it out.

Instead of including the source for the assembly file I compiled it myself and included the object file, .o, by writing
OBJECTS += theFile.o

Now it's working. Thanks!