summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e425c7574b1fbaff531d482ac4cd6ae9683e7e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all:
	$(MAKE) -C tools all
	$(MAKE) -C data all

clean:
	$(MAKE) -C tools clean
	$(MAKE) -C data clean

dist:	all
	$(MAKE) -C tools dist
	$(MAKE) -C data dist
	find . \( -name '*~' -o -name '#*' -o -name '.#*' -o \
		-name '*.bak' \) -print0 | xargs -0rt rm -f
	rm -f *.rpt *.cdf *.csf *.done *.dpf *.hexout *.jam
	rm -f *.jdi *.smsg undo_redo.txt
	rm -f abc80.zip
	zip -9r abc80.zip .[^.]* * \
	    -x abc80.zip -x 'db/*' -x 'incremental_db/*' -x '.git/*' \
	    -x 'files/*' -x '*.stp' \
	    -x 'mega/*_bb.v' -x 'mega/*.bsf' -x 'mega/*.cmp' -x 'mega/*.inc' \
	    -x 'mega/*_inst.v' -x 'mega/*.html' -x 'mega/*.jpg' \
	    -x 'mega/*.qip' -x 'mega/*.ppf'
	chmod a-x abc80.zip