Line | |
---|
1 | ##################################### |
---|
2 | # Compilation of C extension mpi.c # |
---|
3 | # for use with pypar # |
---|
4 | # # |
---|
5 | # Ole Nielsen, Jan 2002 # |
---|
6 | ##################################### |
---|
7 | |
---|
8 | CC = mpicc #MPI C compiler |
---|
9 | |
---|
10 | |
---|
11 | ### Dependencies ### |
---|
12 | # |
---|
13 | default: mpiext.so |
---|
14 | |
---|
15 | mpiext.so: mpiext.c Makefile install.py |
---|
16 | python install.py |
---|
17 | |
---|
18 | ctiming: ctiming.c Makefile |
---|
19 | $(CC) ctiming.c -o ctiming |
---|
20 | |
---|
21 | clean: |
---|
22 | rm -f *.o so_locations *~ runpytiming.o* runpytiming.e* |
---|
23 | |
---|
24 | veryclean: clean |
---|
25 | rm -f *.so *.pyc ctiming |
---|
Note: See
TracBrowser
for help on using the repository browser.