Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Fri, Nov 22, 19:28

Makefile

CC = mpicc
PGM = ptreelib
#INCLUDEPY = /usr/include/python2.5/
INCLUDEPY = /usr/include/python2.5/
INCLUDENUMPY = /usr/lib/python2.5/site-packages/numpy/core/include/
INCLUDENUMARRAY = /usr/lib/python2.5/site-packages/numpy/numarray/
MPI_LIB = -L/home/revaz/local/mpich2-1.0.6shm/lib/ -lmpich
MPI_INC = /home/revaz/local/mpich2-1.0.6shm/include/
OPTIONS =
OBJS = ptreelib.o endrun.o domain.o peano.o system.o forcetree.o ngb.o potential.o gravtree.o
INCL = ptreelib.h allvars.h proto.h Makefile
CFLAGS = -fPIC $(OPTIONS) -I$(INCLUDEPY) -I$(INCLUDENUMPY) -I$(INCLUDENUMARRAY) -I$(MPI_INC)
LIBS = -g $(MPI_LIB)
$(PGM): $(OBJS)
$(CC) -shared $(OBJS) $(MPI_LIB) -o $(PGM).so
$(OBJS): $(INCL)
clean:
rm -f *.o $(EXEC)

Event Timeline