diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,5 @@ +PROJ_DIR := . + include Makefile.config include Makefile.util include tools/Makefile.tools @@ -14,7 +16,8 @@ all : design.bin design.v : design/rom.mem design/*.v - $(IV) -E $(filter %.v,$^) -DROM_WORDS_COUNT=$(call FILE_LINES,$<) -o $@ + $(IV) -Iinclude/ -E $(filter %.v,$^) \ + -DROM_WORDS_COUNT=$(call FILE_LINES,$<) -o $@ design.json : design.v design/rom.mem design/font.mem $(YOSYS) -p 'read_verilog -defer $<' \ |