-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
43 lines (30 loc) · 815 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
all : minimat gnuplot tests examples
# make noplot -- if gnuplot not installed
noplot : minimat tests examples-noplot
minimat:
cd src && $(MAKE)
examples: minimat
cd examples && $(MAKE)
examples-noplot: minimat
cd examples && $(MAKE) noplot
tests: minimat
./testmm.sh && ./testall.sh
gnuplot:
cd include/gnuplot_i && $(MAKE)
clean:
@rm -f ./testall.log
@rm -f ./testmm.log
@rm -f ./*.out
@rm -f ./*.err
@rm -f ./*.diff
@rm -f ./*.ll
@rm -f ./*.o
@rm -f ./*.s
@rm -f ./*~
@cd src/ && $(MAKE) clean; cd ../
@cd examples/ && $(MAKE) clean; cd ../
@cd include/gnuplot_i/ && $(MAKE) clean; cd ../../
# Building the tarball
TARFILES = doc/final.pdf examples/ src/ tests/ include/ testmm.sh testall.sh mmc mmc-noplot llci Makefile README
tarball :
tar czvf minimat-llvm.tar.gz $(TARFILES)