X-Git-Url: http://git.joshuawise.com/vterm.git/blobdiff_plain/cad52b375d45d97c552a2c2adc81a3a5f5be1e60..857e180cc0d85e5d2e658c3534cff19730cd229a:/Makefile diff --git a/Makefile b/Makefile index ef9e12a..58574c2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,14 @@ TARGET = VTerm VLOGS = VTerm.v -VLOGS_ALL = $(VLOGS) +VLOGS_ALL = $(VLOGS) scancodes.shifted.hex scancodes.unshifted.hex + +all: fpga_target + +scancodes.unshifted.hex: scancodes.txt + cut -f3 -d, scancodes.txt > scancodes.unshifted.hex + +scancodes.shifted.hex: scancodes.txt + cut -f4 -d, scancodes.txt > scancodes.shifted.hex BITGEN_OPTS = \ -w \ @@ -26,7 +34,7 @@ BITGEN_OPTS = \ -g DonePipe:No \ -g DriveDone:No -all: $(TARGET).svf +fpga_target: $(TARGET).svf $(TARGET).ngc: $(TARGET).xst $(VLOGS_ALL) @mkdir -p xst/projnav.tmp