
test01:
	g++ -I/rwthfs/rz/SW/UTIL/UPC/berkeley_2.2.0_Linux_x86_64/include -c test01.cpp -o test01.c++.o
	upcc -pthreads -c test01.upc -o test01.upc.o
	upcc -pthreads -link-with=g++ -o test01.exe test01.c++.o test01.upc.o


test01__run: test01.exe
	upcrun -n 1 test01.exe
	upcrun -n 2 test01.exe
	upcrun -n 3 test01.exe
	upcrun -n 4 test01.exe


all: test01


clean:
	rm -rf *~ *.o core* *.exe *pthread-link


