litex/Makefile

19 lines
248 B
Makefile
Raw Normal View History

2013-05-10 16:30:28 -04:00
RM ?= rm -f
2013-02-19 07:27:43 -05:00
all: build/top.bit build/top.fpg
2013-02-16 18:12:15 -05:00
build/top.bit build/top.bin:
2013-02-11 12:23:06 -05:00
./build.py
2013-02-19 07:27:43 -05:00
build/top.fpg: build/top.bin
2013-05-10 16:30:28 -04:00
$(MAKE) -C tools
2013-02-19 07:27:43 -05:00
tools/byteswap $< $@
2013-02-16 18:12:15 -05:00
load: build/top.bit
jtag -n load.jtag
clean:
2013-05-10 16:30:28 -04:00
$(RM) -r build/*
2013-05-10 16:30:28 -04:00
.PHONY: all load clean