Added Makefile for Aidan's Apple laptop

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1078 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2007-10-22 21:05:37 +00:00
parent a087f16939
commit d87689d8b8
1 changed files with 33 additions and 0 deletions

33
src/MAKE/Makefile.mac_mpi Executable file
View File

@ -0,0 +1,33 @@
# mac_mpi = Apple PowerBook G4 laptop, Finked LAM/MPI, Finked FFTW 2.1.5
SHELL = /bin/sh
# System-specific settings
FFTW = /sw
CC = mpic++
CCFLAGS = -O -MMD -DFFT_FFTW -I${FFTW}/include -DOMPI_SKIP_MPICXX
LINK = mpic++
LINKFLAGS = -O -L${FFTW}/lib
USRLIB = -lfftw
SYSLIB =
SIZE = size
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
-include $(DEPENDS)