aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 79e7a7f2f885ce7e516e72d05e5ac0ca88d97676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include config.mk

SUBDIRS = icebox icepack iceprog icemulti icepll icetime icebram

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