I tried to do "header guards" by using the IFNDEF directive, but the file ends up not being included at all
Here's what I've done on the inc file:
.ifndef HEADER_NAME
HEADER_NAME = 0
; code here
.endif
Then I have included the inc file in my main file using .include "incfile.inc" and it doesn't get included.