cavatools: initialize repository
[cavatools.git] / Makefile
1 .PHONY: nothing clean install
2 nothing:
3 echo "clean, tarball, install?"
4
5 clean:
6 rm -f $(HOME)/lib/libcava.a $(HOME)/lib/softfloat.a *~ ./#*#
7 ( cd softfloat/build/Linux-x86_64-GCC; rm -f softfloat.a *.o )
8 make -C caveat clean
9 make -C cachesim clean
10 make -C pipesim clean
11 make -C traceinfo clean
12 make -C erised clean
13
14 # (cd $(HOME)/bin; rm -f caveat cachesim pipesim traceinfo )
15
16
17
18 tarball: clean
19 ( cd ..; tar -czvf cavatools.tgz cavatools )
20
21
22 install:
23 ( cd softfloat/build/Linux-x86_64-GCC; make; cp softfloat.a $(HOME)/lib )
24 cp -rp softfloat/source/include $(HOME)/include/softfloat
25 make -C caveat install
26 make -C cachesim install
27 make -C pipesim install
28 make -C traceinfo install
29 make -C erised install
30 make -C utilities/softpipe install
31
32
33
34
35