start of new file
[IRC.git] / Robust / src / Tests / OwnershipAnalysisTest / test02 / makefile
1 PROGRAM=test02
2
3 SOURCE_FILES=test02.java
4
5 BUILDSCRIPT=~/research/Robust/src/buildscript
6 BSFLAGS= -recover -flatirtasks -ownership -enable-assertions
7 #BSFLAGS= -recover -ownership -enable-assertions
8
9 all: $(PROGRAM).bin
10
11 view: PNGs
12         #eog *flatIRGraph*.png &
13         #eog *FN*.png &
14         #eog *Ownership*.png &
15         eog *.png &
16
17 PNGs: DOTs
18         #rm -f *Startup*.dot
19         rm -f *FlatMethod*.dot
20         rm -f *FlatOpNode*.dot
21         rm -f *FlatFieldNode*.dot
22         rm -f *FlatSetFieldNode*.dot
23         rm -f *FlatCall*.dot
24         rm -f *Parameter*.dot
25         rm -f *Penguin*.dot
26         d2p *.dot
27
28 DOTs: $(PROGRAM).bin
29
30 $(PROGRAM).bin: $(SOURCE_FILES)
31         $(BUILDSCRIPT) $(BSFLAGS) -o $(PROGRAM) $(SOURCE_FILES)
32
33 clean:
34         rm -f  $(PROGRAM).bin
35         rm -fr tmpbuilddirectory
36         rm -f  *~
37         rm -f  *.dot
38         rm -f  *.png