aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 518e08cf29aff133e89adb08e754a898830007d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SUBDIRS = icebox icepack iceprog icemulti icepll icetime icebram

include config.mk

all clean install uninstall:
	for dir in $(SUBDIRS); do \
		$(MAKE) -C $$dir $@ || exit; \
	done

mxebin: clean
	$(MAKE) MXE=1
	rm -rf icestorm-win32 && mkdir icestorm-win32
	cp icebox/chipdb-*.txt icepack/*.exe iceprog/*.exe icestorm-win32/
	cp icemulti/*.exe icepll/*.exe icetime/*.exe icestorm-win32/
	zip -r icestorm-win32.zip icestorm-win32/

.PHONY: all clean install uninstall