source: trunk/lib_ir/AgnerTestP/PMCTest/Makefile @ 4225

Last change on this file since 4225 was 4225, checked in by linmengl, 5 years ago

fix encoding issue of PMCTestB python template

File size: 446 bytes
Line 
1all: llc_func.ll PMCTestA.cpp PMCTestB.cpp
2        clang PMCTestB.cpp -c -emit-llvm -msse2 -m64 -o B.bc -I ../../ -lpthread
3        llvm-as-3.5 llc_func.ll -o llc_func.bc
4        llvm-link B.bc llc_func.bc -o B_llc.bc
5        opt-svn -O3 -std-compile-opts -mattr=+sse2 B_llc.bc -o B_llc_opt.bc
6        llc-svn -O3 -mattr=+sse2 -filetype=obj B_llc_opt.bc -o B_llc_opt.o
7        g++ -O2 -m64 PMCTestA.cpp B_llc_opt.o -lpthread -o PMCTest
8
9clean:
10        rm -f *.bc *.o a.out PMCTest PMCTestB.cpp
11
Note: See TracBrowser for help on using the repository browser.