blob: 5a95087699392fc6e13e53c43d0f660c6a76fead (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
SUBDIRS = icebox icepack iceprog icemulti icepll icetime icebram
include config.mk
all: $(addsuffix .all,$(SUBDIRS))
$(addsuffix .all,$(SUBDIRS)):
$(MAKE) -C $(basename $@) 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
|