litex/Makefile
2013-05-12 14:24:18 +02:00

18 lines
248 B
Makefile

RM ?= rm -f
all: build/top.bit build/top.fpg
build/top.bit build/top.bin:
./build.py
build/top.fpg: build/top.bin
$(MAKE) -C tools
tools/byteswap $< $@
load: build/top.bit
jtag -n load.jtag
clean:
$(RM) -r build/*
.PHONY: all load clean