tomaccogoats
Newbie level 2

I'm using ncverilog and i'm curious if there's a way I can force an include on all my files. Say I have a directory full of files that need to compiled, and they all require a defines file. Is there some compile option to force the defines to be processed before trying to compile everything else, so that I don't have to go into every file and paste in the "include" line?
Also is there a way to compile based on what's needed? Like if a top level module is needs other modules to be compiled, can it recognize that and compile the lower level modules first, or would I just make a Makefile for that?
Also is there a way to compile based on what's needed? Like if a top level module is needs other modules to be compiled, can it recognize that and compile the lower level modules first, or would I just make a Makefile for that?