summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9f79674..ba203c5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
1SOURCES := $(wildcard hdl/**.sv) 1SOURCES := $(wildcard hdl/**.sv)
2HEADERS := $(wildcard hdl/**.svh) 2HEADERS := $(wildcard hdl/**.svh)
3MEMORIES := $(addprefix build/, $(addsuffix .hex, $(basename $(wildcard mem/**.pal))))
4QUARTUS := $(shell find altera tcl -name \*.cdf -o -name \*.sdc -o -name \*.tcl) 3QUARTUS := $(shell find altera tcl -name \*.cdf -o -name \*.sdc -o -name \*.tcl)
5 4
6fpga: pdp8.sof 5fpga: pdp8.sof
@@ -75,7 +74,7 @@ build/%.bin: %.pal
75 palbart $< 74 palbart $<
76 mv -f $*.bin $*.lst $(dir $@) 75 mv -f $*.bin $*.lst $(dir $@)
77 76
78pdp8.sof: $(SOURCES) $(HEADERS) $(MEMORIES) $(QUARTUS) 77pdp8.sof: $(SOURCES) $(HEADERS) $(QUARTUS)
79 [ ! -e pdp8.qpf ] || quartus_sh -t tcl/clean.tcl 78 [ ! -e pdp8.qpf ] || quartus_sh -t tcl/clean.tcl
80 quartus_sh -t tcl/init.tcl 79 quartus_sh -t tcl/init.tcl
81 quartus_sh --flow compile pdp8.qpf 80 quartus_sh --flow compile pdp8.qpf